mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-10 21:55:11 +01:00
Generate artifact name from inputs (#6)
* Generate artifact name from inputs * add gapps_variant to artifact name
This commit is contained in:
parent
02996864ad
commit
2ba15c5a53
10
.github/workflows/magisk.yml
vendored
10
.github/workflows/magisk.yml
vendored
@ -555,8 +555,16 @@ jobs:
|
||||
- name: Remove signature
|
||||
run: |
|
||||
rm -rf ${{ matrix.arch }}/\[Content_Types\].xml ${{ matrix.arch }}/AppxBlockMap.xml ${{ matrix.arch }}/AppxSignature.p7x ${{ matrix.arch }}/AppxMetadata
|
||||
- name: Generate artifact name
|
||||
run: |
|
||||
variant="${{ github.event.inputs.gapps_variant }}"
|
||||
if [[ "$variant" = "none" || "$variant" = "" ]]; then
|
||||
echo "artifact_name=WSA-with-Magisk_${{ matrix.arch }}" >> $GITHUB_ENV
|
||||
else
|
||||
echo "artifact_name=WSA-with-Magisk-GApps-($variant)_${{ matrix.arch }}" >> $GITHUB_ENV
|
||||
fi
|
||||
- name: Upload WSA
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: WSA-with-Magisk_${{ matrix.arch }}
|
||||
name: ${{ env.artifact_name }}
|
||||
path: './${{ matrix.arch }}/*'
|
||||
|
Loading…
Reference in New Issue
Block a user