File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Update Release
2
+ on :
3
+ workflow_dispatch :
4
+ repository_dispatch :
5
+ types : [ci-clibs-nightly]
6
+ jobs :
7
+ release :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Download CE Libraries Zip
11
+ uses : robinraju/release-downloader@v1
12
+ with :
13
+ repository : CE-Programming/toolchain
14
+ fileName : ' clibs_separately_in_zip.zip'
15
+ tag : ' nightly'
16
+
17
+ - name : Download CE Libraries
18
+ uses : robinraju/release-downloader@v1
19
+ with :
20
+ repository : CE-Programming/toolchain
21
+ fileName : ' clibs.8xg'
22
+ tag : ' nightly'
23
+
24
+ - name : Download Current CE Libraries
25
+ uses : robinraju/release-downloader@v1
26
+ with :
27
+ fileName : ' clibs.8xg'
28
+ out-file-path : ' current'
29
+ latest : true
30
+
31
+ - name : Check for difference
32
+ id : diff_check
33
+ run : diff clibs.8xg current/clibs.8xg &> /dev/null || (echo "update=true" >> $GITHUB_OUTPUT ; echo "updating")
34
+
35
+ - name : Update nightly release
36
+ if : ${{ steps.diff_check.outputs.update == 'true' }}
37
+ uses : pyTooling/Actions/releaser@main
38
+ with :
39
+ tag : nightly
40
+ rm : true
41
+ token : ${{secrets.GITHUB_TOKEN}}
42
+ files : |
43
+ clibs.8xg
44
+ clibs_separately_in_zip.zip
45
+
You can’t perform that action at this time.
0 commit comments