Skip to content

Commit 5704c7f

Browse files
authored
Remove checkout twice on upload (#17)
1 parent 7ed9b3d commit 5704c7f

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

.github/workflows/linux.yml

-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
- name: Build binaries
2323
run: bash tool/build_linux.sh x64
2424

25-
- uses: actions/checkout@v3
2625
- name: Upload binary
2726
if: github.event_name == 'workflow_dispatch'
2827
uses: ./.github/actions/upload
@@ -48,7 +47,6 @@ jobs:
4847
- name: Build binaries
4948
run: bash tool/build_linux.sh aarch64
5049

51-
- uses: actions/checkout@v3
5250
- name: Upload binary
5351
if: github.event_name == 'workflow_dispatch'
5452
uses: ./.github/actions/upload

.github/workflows/release.yml

-4
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ jobs:
129129
- name: Build binaries
130130
run: bash tool/build_linux.sh x64
131131

132-
- uses: actions/checkout@v3
133132
- name: Upload binary
134133
uses: ./.github/actions/upload
135134
with:
@@ -155,7 +154,6 @@ jobs:
155154
- name: Build binaries
156155
run: bash tool/build_linux.sh aarch64
157156

158-
- uses: actions/checkout@v3
159157
- name: Upload binary
160158
uses: ./.github/actions/upload
161159
with:
@@ -175,7 +173,6 @@ jobs:
175173
- name: Build binary
176174
run: bash tool/build_windows.sh x64
177175

178-
- uses: actions/checkout@v3
179176
- name: Upload binary
180177
uses: ./.github/actions/upload
181178
with:
@@ -195,7 +192,6 @@ jobs:
195192
- name: Build binary
196193
run: bash tool/build_macos.sh aarch64
197194

198-
- uses: actions/checkout@v3
199195
- name: Upload binary
200196
uses: ./.github/actions/upload
201197
with:

.github/workflows/windows.yml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
- name: Build binary
1616
run: bash tool/build_windows.sh x64
1717

18-
- uses: actions/checkout@v3
1918
- name: Upload binary
2019
if: github.event_name == 'workflow_dispatch'
2120
uses: ./.github/actions/upload

0 commit comments

Comments
 (0)