Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
ci(build): simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
CCXXXI committed Oct 30, 2021
1 parent 58ff679 commit bde86aa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/web
publish_dir: build/web

build-windows:
runs-on: windows-latest
Expand All @@ -31,14 +31,14 @@ jobs:
dest: windows-release.zip
- uses: actions/upload-artifact@v2
with:
name: ecnu_timetable-windows
name: windows
path: windows-release.zip

- run: flutter pub run msix:create

- uses: actions/upload-artifact@v2
with:
name: ecnu_timetable-msix
name: msix
path: build/windows/runner/Release/ecnu_timetable.msix

build-linux:
Expand All @@ -55,7 +55,7 @@ jobs:
dest: linux-release.zip
- uses: actions/upload-artifact@v2
with:
name: ecnu_timetable-linux
name: linux
path: linux-release.zip

build-macos:
Expand All @@ -71,7 +71,7 @@ jobs:
dest: macos-release.zip
- uses: actions/upload-artifact@v2
with:
name: ecnu_timetable-macos
name: macos
path: macos-release.zip

build-android:
Expand All @@ -85,7 +85,7 @@ jobs:

- uses: actions/upload-artifact@v2
with:
name: ecnu_timetable-android
name: android
path: build/app/outputs/apk/release/*.apk

build-ios:
Expand All @@ -101,7 +101,7 @@ jobs:
dest: ios-release.zip
- uses: actions/upload-artifact@v2
with:
name: ecnu_timetable-ios
name: ios
path: ios-release.zip

release:
Expand Down

0 comments on commit bde86aa

Please sign in to comment.