mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 15:48: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
|
- name: Build Android APK
|
||||||
run: flutter build apk --release --split-per-abi
|
run: flutter build apk --release --split-per-abi
|
||||||
|
|
||||||
- name: Create Github Release
|
# - name: Create Github Release
|
||||||
uses: actions/upload-artifact@v4
|
# uses: actions/upload-artifact@v4
|
||||||
with:
|
# with:
|
||||||
name: release-apk
|
# name: release-apk
|
||||||
path: build/app/outputs/flutter-apk/*.apk
|
# path: build/app/outputs/flutter-apk/*.apk
|
||||||
retention-days: 2
|
# retention-days: 2
|
||||||
|
|
||||||
- name: Extract pubspec version
|
- name: Extract pubspec version
|
||||||
run: |
|
run: |
|
||||||
echo "PUBSPEC_VERSION=$(grep -oP 'version:\s*\K[^+]+(?=\+)' pubspec.yaml)" >> $GITHUB_ENV
|
echo "PUBSPEC_VERSION=$(grep -oP 'version:\s*\K[^+]+(?=\+)' pubspec.yaml)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Upload Release Binaries (stable)
|
- name: Upload Release Binaries (stable)
|
||||||
if: ${{ !inputs.dry_run && inputs.channel == 'stable' }}
|
uses: ncipollo/release-action@v1.18.0
|
||||||
uses: ncipollo/release-action@v1
|
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
tag: v${{ env.PUBSPEC_VERSION }} # mind the "v" prefix
|
tag: v${{ env.PUBSPEC_VERSION }}
|
||||||
omitBodyDuringUpdate: true
|
omitBodyDuringUpdate: true
|
||||||
omitNameDuringUpdate: true
|
omitNameDuringUpdate: true
|
||||||
omitPrereleaseDuringUpdate: true
|
omitPrereleaseDuringUpdate: true
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
artifacts: app*
|
artifacts: build/app/outputs/flutter-apk/*.apk
|
||||||
Loading…
Reference in a new issue