Skip to content

Commit

Permalink
Use artifacts to replace releases
Browse files Browse the repository at this point in the history
  • Loading branch information
KoolShow authored Dec 20, 2023
1 parent 9676d7d commit 703978a
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,20 @@ jobs:
fi
done
- name: 构建和发布release
uses: ncipollo/release-action@v1
- name: Upload armeabi-v7a
uses: actions/upload-artifact@v3
with:
# release title
name: v${{ steps.version.outputs.version }}
artifacts: "build/app/outputs/flutter-apk/Pili-*.apk"
bodyFile: "change_log/${{steps.version.outputs.version}}.md"
token: ${{ secrets.GIT_TOKEN }}
allowUpdates: true
name: armeabi-v7a.apk
path: build/app/outputs/flutter-apk/Pili-armeabi-v7a-*.apk

- name: Upload arm64-v8a
uses: actions/upload-artifact@v3
with:
name: arm64-v8a.apk
path: build/app/outputs/flutter-apk/Pili-arm64-v8a-*.apk

- name: Upload x86_64
uses: actions/upload-artifact@v3
with:
name: x86_64.apk
path: build/app/outputs/flutter-apk/Pili-x86_64-*.apk

0 comments on commit 703978a

Please sign in to comment.