File tree Expand file tree Collapse file tree 1 file changed +19
-11
lines changed
Expand file tree Collapse file tree 1 file changed +19
-11
lines changed Original file line number Diff line number Diff line change 1- # Your existing git-sync configuration
21on :
32 schedule :
43 - cron : ' */15 * * * *'
2221 runs-on : ubuntu-latest
2322 steps :
2423 - name : Checkout mirror repository
25- uses : actions/checkout@v3
24+ uses : actions/checkout@v4
2625 with :
2726 repository : Tiny-C-Compiler/mirror-repository
2827 ref : mob
@@ -45,22 +44,31 @@ jobs:
4544 make
4645 mv tcc.exe tcc-windows.exe
4746
48- - name : Upload artifacts
49- uses : actions/upload-artifact@v3
47+ - name : Upload Linux binary
48+ uses : actions/upload-artifact@v4
5049 with :
51- name : binaries
52- path : |
53- tcc-linux
54- tcc-windows.exe
50+ name : tcc-linux
51+ path : tcc-linux
52+
53+ - name : Upload Windows binary
54+ uses : actions/upload-artifact@v4
55+ with :
56+ name : tcc-windows.exe
57+ path : tcc-windows.exe
5558
5659 create-release :
5760 needs : build-binaries
5861 runs-on : ubuntu-latest
5962 steps :
60- - name : Download artifacts
61- uses : actions/download-artifact@v3
63+ - name : Download Linux binary
64+ uses : actions/download-artifact@v4
65+ with :
66+ name : tcc-linux
67+
68+ - name : Download Windows binary
69+ uses : actions/download-artifact@v4
6270 with :
63- name : binaries
71+ name : tcc-windows.exe
6472
6573 - name : Create Release
6674 uses : softprops/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments