Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7d0f4c8065 |
@@ -53,12 +53,28 @@ jobs:
|
|||||||
name: android
|
name: android
|
||||||
path: dist/
|
path: dist/
|
||||||
|
|
||||||
# build-windows(runs-on: windows)本轮移除:pangolin 暂无 windows runner。
|
build-windows:
|
||||||
# 待注册 windows runner 后从 git 历史(commit 2698116)恢复该 job + release-deploy
|
runs-on: windows
|
||||||
# 的 needs/下载步骤 + compile-windows.sh 已就绪。
|
env:
|
||||||
|
GOPROXY: https://goproxy.cn,direct
|
||||||
|
PUB_HOSTED_URL: https://pub.flutter-io.cn
|
||||||
|
FLUTTER_STORAGE_BASE_URL: https://storage.flutter-io.cn
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Compile (Windows installer)
|
||||||
|
shell: bash
|
||||||
|
run: bash scripts/ci/compile-windows.sh "${{ gitea.ref_name }}"
|
||||||
|
|
||||||
|
- name: Upload windows artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: windows
|
||||||
|
path: dist/
|
||||||
|
|
||||||
release-deploy:
|
release-deploy:
|
||||||
needs: [build-android]
|
needs: [build-android, build-windows]
|
||||||
runs-on: mac
|
runs-on: mac
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -70,6 +86,12 @@ jobs:
|
|||||||
name: android
|
name: android
|
||||||
path: dist/
|
path: dist/
|
||||||
|
|
||||||
|
- name: Download windows artifact
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: windows
|
||||||
|
path: dist/
|
||||||
|
|
||||||
- name: Release → Forgejo
|
- name: Release → Forgejo
|
||||||
env:
|
env:
|
||||||
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
|
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user