mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 22:28:41 +00:00
do not upload artifacts
This commit is contained in:
parent
b7522ce810
commit
0ec9e18046
1 changed files with 9 additions and 10 deletions
19
.github/workflows/release_github.yml
vendored
19
.github/workflows/release_github.yml
vendored
|
|
@ -46,25 +46,24 @@ jobs:
|
|||
- name: Build Android APK
|
||||
run: flutter build apk --release --split-per-abi
|
||||
|
||||
- name: Create Github Release
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: release-apk
|
||||
path: build/app/outputs/flutter-apk/*.apk
|
||||
retention-days: 2
|
||||
# - name: Create Github Release
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: release-apk
|
||||
# path: build/app/outputs/flutter-apk/*.apk
|
||||
# retention-days: 2
|
||||
|
||||
- name: Extract pubspec version
|
||||
run: |
|
||||
echo "PUBSPEC_VERSION=$(grep -oP 'version:\s*\K[^+]+(?=\+)' pubspec.yaml)" >> $GITHUB_ENV
|
||||
|
||||
- name: Upload Release Binaries (stable)
|
||||
if: ${{ !inputs.dry_run && inputs.channel == 'stable' }}
|
||||
uses: ncipollo/release-action@v1
|
||||
uses: ncipollo/release-action@v1.18.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag: v${{ env.PUBSPEC_VERSION }} # mind the "v" prefix
|
||||
tag: v${{ env.PUBSPEC_VERSION }}
|
||||
omitBodyDuringUpdate: true
|
||||
omitNameDuringUpdate: true
|
||||
omitPrereleaseDuringUpdate: true
|
||||
allowUpdates: true
|
||||
artifacts: app*
|
||||
artifacts: build/app/outputs/flutter-apk/*.apk
|
||||
Loading…
Reference in a new issue