fix: build.yaml

This commit is contained in:
Peter Njeim 2022-08-29 20:12:39 -03:00
parent be523a66a8
commit 7eab0becbd

View File

@ -136,7 +136,7 @@ jobs:
COMMAND_LINE=(--arch "$ARCH" --release-type "$RELEASE_TYPE" --magisk-ver "$MAGISK_VER" --gapps-brand "$GAPPS_BRAND" --gapps-variant "$GAPPS_VARIANT" "$REMOVE_AMAZON" --root-sol "$ROOT_SOL" "$COMPRESS_OUTPUT" "$OFFLINE" "$DEBUG" "$CUSTOM_MAGISK") COMMAND_LINE=(--arch "$ARCH" --release-type "$RELEASE_TYPE" --magisk-ver "$MAGISK_VER" --gapps-brand "$GAPPS_BRAND" --gapps-variant "$GAPPS_VARIANT" "$REMOVE_AMAZON" --root-sol "$ROOT_SOL" "$COMPRESS_OUTPUT" "$OFFLINE" "$DEBUG" "$CUSTOM_MAGISK")
echo "COMMAND_LINE=${COMMAND_LINE[*]}" echo "COMMAND_LINE=${COMMAND_LINE[*]}"
ls .
./build.sh "${COMMAND_LINE[@]}" ./build.sh "${COMMAND_LINE[@]}"
- name: Generate Release Asset Name - name: Generate Release Asset Name
working-directory: ./output working-directory: ./output
@ -173,8 +173,7 @@ jobs:
find ./ -maxdepth 1 -type d -not -path './' -exec mv "{}" WSA \; find ./ -maxdepth 1 -type d -not -path './' -exec mv "{}" WSA \;
zip -qrv "${{ env.release_asset_name }}.zip" ./* zip -qrv "${{ env.release_asset_name }}.zip" ./*
- name: Upload Asset - name: Upload Asset
working-directory: ./output
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
files: ./${{ env.release_asset_name }}.zip files: ./output/${{ env.release_asset_name }}.zip
tag_name: WSA tag_name: WSA