Skip to content

Commit

Permalink
feat: test artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
hjiangsu committed Jan 7, 2025
1 parent 352b634 commit f91d065
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,18 @@ jobs:
done
rm apksign.keystore
echo "Finished signing Android APKs"
- name: Create release and upload artifacts
if: ${{ inputs.test_run }} == 'false'
uses: ncipollo/release-action@v1
- uses: actions/upload-artifact@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: "${{ steps.extract_version.outputs.tag }}"
prerelease: ${{ steps.extract_version.outputs.prerelease }}
draft: true
artifacts: ./build/app/outputs/flutter-apk/*-release*.apk* ./build/app/outputs/flutter-apk/*-debug.apk*
generateReleaseNotes: true
path: ./build/app/outputs/flutter-apk/*-release*.apk* ./build/app/outputs/flutter-apk/*-debug.apk*

# - name: Create release and upload artifacts
# if: ${{ inputs.test_run }} == 'false'
# uses: ncipollo/release-action@v1
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# tag: "${{ steps.extract_version.outputs.tag }}"
# prerelease: ${{ steps.extract_version.outputs.prerelease }}
# draft: true
# artifacts: ./build/app/outputs/flutter-apk/*-release*.apk* ./build/app/outputs/flutter-apk/*-debug.apk*
# generateReleaseNotes: true

0 comments on commit f91d065

Please sign in to comment.