Skip to content
This repository has been archived by the owner on Jan 25, 2025. It is now read-only.

Commit

Permalink
Try to generate independent products (#4)
Browse files Browse the repository at this point in the history
Generate independent products
  • Loading branch information
Webpage-gh authored Jun 23, 2024
1 parent 312393d commit 3a9da49
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,25 @@ jobs:
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}

- name: Upload build artifact
- name: Get file name
run: |
echo "FILE0=$(basename ${{ steps.sign_app.outputs.signedReleaseFile0 }} .apk)" >> "$GITHUB_ENV"
echo "FILE1=$(basename ${{ steps.sign_app.outputs.signedReleaseFile1 }} .apk)" >> "$GITHUB_ENV"
- name: Upload Artifact0
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
if: ${{ steps.sign_app.outcome == 'success' && env.SIGNING_KEY != null }}
uses: actions/upload-artifact@v4
with:
name: ${{ env.FILE0 }}
path: ${{ steps.sign_app.outputs.signedReleaseFile0 }}

- name: Upload Artifact1
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
if: ${{ steps.sign_app.outcome == 'success' && env.SIGNING_KEY != null }}
uses: actions/upload-artifact@v4
with:
name: Vojazento
path: |
${{ steps.sign_app.outputs.signedReleaseFile0 }}
${{ steps.sign_app.outputs.signedReleaseFile1 }}
name: ${{ env.FILE1 }}
path: ${{ steps.sign_app.outputs.signedReleaseFile1 }}

0 comments on commit 3a9da49

Please sign in to comment.