Skip to content

Commit

Permalink
upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
frnandu committed Sep 2, 2024
1 parent 611809c commit 9461506
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,32 @@ jobs:
run: yarn install

- name: 🚀 Build app
run: eas build --non-interactive --platform android --local --profile production_apk
run: eas build --non-interactive --platform android --local --profile production_apk --output=./app-release.apk

- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: alby-go-${{ github.ref_name }}-android.apk
path: ./app-release.apk

# - name: Create Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ github.ref }}
# prerelease: true
#
# - name: Upload Release Asset
# id: upload-release-asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: ./app-release.apk
# asset_name: alby-go-${{ github.ref_name }}-android.apk
# asset_content_type: application/vnd.android.package-archive

0 comments on commit 9461506

Please sign in to comment.