Skip to content

Commit

Permalink
change upload
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneschepke committed Jun 13, 2024
1 parent 63c945e commit b285e7c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/publish-nym-vpn-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ on:
tags:
- 'nym-vpn-android-v*.*.*'

env:
UPLOAD_DIR_ANDROID: android_artifacts
jobs:

build-nym-vpn-android:
Expand All @@ -50,7 +52,6 @@ jobs:
run:
working-directory: nym-vpn-android
env:
UPLOAD_DIR_ANDROID: ${{ needs.build-nym-vpn-android.outputs.UPLOAD_DIR_ANDROID }}
# GH needed for gh cli
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -92,6 +93,15 @@ jobs:
echo "RELEASE_NOTES=Nightly build of the latest development version of the android client." >> $GITHUB_ENV
gh release delete nightly-android --yes || true
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: ${{ env.UPLOAD_DIR_ANDROID }}
run: |
mkdir ${{ github.workspace }}/temp
unzip ${{ github.workspace }}/${{ env.UPLOAD_DIR_ANDROID }} -d ${{ github.workspace }}/temp
- name: Create release with fastlane changelog notes
id: create_release
uses: softprops/action-gh-release@v2
Expand All @@ -105,7 +115,7 @@ jobs:
make_latest: ${{ inputs.release_type == 'release' }}
prerelease: ${{ inputs.release_type == 'prerelease' || inputs.release_type == '' }}
files: |
${{ env.UPLOAD_DIR_ANDROID }}/*
${{ github.workspace }}/temp/*
- name: Dispatch update for fdroid repo
if: inputs.release_type == 'release'
Expand Down

0 comments on commit b285e7c

Please sign in to comment.