mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-01-11 22:40:36 +00:00
updated release.yml
This commit is contained in:
parent
0a870a0423
commit
0c026a5ca3
1 changed files with 9 additions and 4 deletions
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
|
|
@ -185,20 +185,25 @@ jobs:
|
|||
- name: flutter pub get
|
||||
run: flutter pub get
|
||||
|
||||
- name: Enable dart_distributor
|
||||
run: dart pub global activate flutter_distributor
|
||||
|
||||
- name: Update PATH
|
||||
run: echo 'export PATH="$PATH:$HOME/.pub-cache/bin"' >> ~/.bashrc
|
||||
|
||||
- name: build windows
|
||||
run: |
|
||||
flutter build windows
|
||||
Compress-Archive build\windows\x64\runner\Release\mangayomi.exe build\windows\Mangayomi-${{ github.ref_name }}-windows.zip
|
||||
flutter_distributor package --platform windows --targets zip --artifact-name 'Mangayomi-${{ github.ref_name }}-windows.zip'
|
||||
|
||||
- name: upload artifact windows zip
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: build\windows\Mangayomi-*.zip
|
||||
path: Mangayomi-*.zip
|
||||
|
||||
- name: release package windows zip
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: build\windows\Mangayomi-*.zip
|
||||
artifacts: Mangayomi-*.zip
|
||||
allowUpdates: true
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue