mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2025-01-11 10:49:09 +01:00
fix: name
This commit is contained in:
parent
0a9c0173bf
commit
adb923a3df
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
@ -79,7 +79,6 @@ jobs:
|
||||
run: |
|
||||
DOWNLOAD_DIR=../download
|
||||
DOWNLOAD_CONF_NAME=download.list
|
||||
OUTPUT_DIR=../output
|
||||
|
||||
declare -A opts=( ["ARCH,X86_64"]="x64" ["ARCH,AArch64"]="arm64" ["RELEASE_TYPE,General Availability Channel"]="retail" ["RELEASE_TYPE,Release Preview Channel"]="release preview" ["RELEASE_TYPE,Beta Channel"]="insider slow" ["RELEASE_TYPE,Dev Channel"]="insider fast" ["MAGISK_VER,Stable"]="stable" ["MAGISK_VER,Beta"]="beta" ["MAGISK_VER,Canary"]="canary" ["MAGISK_VER,Debug"]="debug" ["GAPPS_VAR,None"]="none" ["GAPPS_VAR,Pico"]="pico" ["GAPPS_VAR,Full"]="full" ["GAPPS_VAR,MindTheGapps (URL)"]="MindTheGapps" ["REMOVE_AMAZON,true"]="--remove-amazon" ["REMOVE_AMAZON,false"]="" ["OFFLINE_MODE,true"]="--offline" ["OFFLINE_MODE,false"]="" )
|
||||
|
||||
@ -109,6 +108,8 @@ jobs:
|
||||
if [ "$ARCH" != "arm64" ]; then
|
||||
GAPPS_VAR="${opts[GAPPS_VAR,${{ inputs.gapps_var }}]}"
|
||||
else
|
||||
# TODO: keep it 11.0 since official opengapps does not support 12+ yet
|
||||
# As soon as opengapps is available for 12+, we need to get the sdk/release from build.prop and download the corresponding version
|
||||
GAPPS_VAR="pico"
|
||||
fi
|
||||
|
||||
@ -136,7 +137,8 @@ jobs:
|
||||
./build.sh "${COMMAND_LINE[@]}"
|
||||
- name: Generate Release Asset Name
|
||||
run: |
|
||||
cd ../output
|
||||
OUTPUT_DIR=../output
|
||||
cd $OUTPUT_DIR
|
||||
|
||||
magisk_ver="${{ inputs.magisk_ver }}"
|
||||
gapps_var="${{ inputs.gapps_var }}"
|
||||
@ -166,6 +168,7 @@ jobs:
|
||||
echo "release_asset_name=WSA_${{ env.WSA_VER }}$magiskVer$gappsVar$amazon_${{ inputs.arch }}" >> $GITHUB_ENV
|
||||
- name: Compress Asset
|
||||
run: |
|
||||
find ./ -maxdepth 1 -type d -not -path './' -exec mv "{}" WSA \;
|
||||
zip -qrv "${{ env.release_asset_name }}.zip" ./*
|
||||
- name: Upload Asset
|
||||
uses: softprops/action-gh-release@v1
|
||||
|
Loading…
x
Reference in New Issue
Block a user