-
Notifications
You must be signed in to change notification settings - Fork 12
44 lines (39 loc) · 1.16 KB
/
make.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
name: Update Release
on:
workflow_dispatch:
repository_dispatch:
types: [ci-clibs-nightly]
jobs:
event:
runs-on: ubuntu-latest
steps:
- name: Download CE Libraries
uses: actions/download-artifact@v4
with:
name: clibs
repository: CE-Programming/toolchain
path: ${{github.workspace}}
- name: Download CE Libraries Zip
uses: actions/download-artifact@v4
with:
name: clibs_separately_in_zip
repository: CE-Programming/toolchain
path: ${{github.workspace}}
- name: Download Current CE Libraries
uses: robinraju/release-downloader@v1
with:
fileName: 'clibs.8xg'
out-file-path: 'current'
extract: true
- name: Check for difference
run: diff clibs.8xg clibs.8xg &> /dev/null || echo "need to update"
- name: Update nightly release
if: ${{ needs.update == 'true' }}
uses: pyTooling/Actions/releaser@main
with:
tag: nightly
rm: true
token: ${{secrets.GITHUB_TOKEN}}
files: |
clibs.8xg
clibs_separately_in_zip.zip