-
Notifications
You must be signed in to change notification settings - Fork 24
50 lines (46 loc) · 1.41 KB
/
nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Nightly Build
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
nightly-build:
uses: ./.github/workflows/ci.yml
with:
nightly: true
code-signing:
needs: [nightly-build]
uses: ./.github/workflows/code-signing.yml
with:
signing-policy-slug: test-signing
github-artifact-id: ${{ needs.nightly-build.outputs.unsigned-artifact-id }}
secrets:
api-token: ${{ secrets.SIGNPATH_API_TOKEN }}
nightly-release:
runs-on: ubuntu-latest
name: Nightly Release
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
needs: [code-signing]
steps:
- uses: actions/download-artifact@v4
with:
name: Signed Installer
path: dist
- name: Upload Nightly Release
uses: andelf/nightly-release@46e2d5f80828ecc5c2c3c819eb31186a7cf2156c # main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: nightly
prerelease: true
name: 最新開發版 $$
body: |
This is a nightly build of Windows Chewing TSF.
windows-chewing-tsf changes:
```
TBD
```
**Full Changelog**: https://github.com/chewing/windows-chewing-tsf/compare/1ba881c...nightly
files: |
dist/windows-chewing-tsf.msi
dist/windows-chewing-tsf.msi.sha256