Skip to content

Commit 457a81c

Browse files
authored
Update release-crosscompile.yml
1 parent 8f9d4c0 commit 457a81c

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

.github/workflows/release-crosscompile.yml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Your existing git-sync configuration
21
on:
32
schedule:
43
- cron: '*/15 * * * *'
@@ -22,7 +21,7 @@ jobs:
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

0 commit comments

Comments
 (0)