Skip to content

Commit 0bf4a38

Browse files
authored
Checkout before running local action (#15)
1 parent fe9fe3a commit 0bf4a38

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.github/workflows/linux.yml

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

25+
- uses: actions/checkout@v3
2526
- name: Upload binary
2627
if: github.event_name == 'workflow_dispatch'
2728
uses: ./.github/actions/upload
@@ -47,6 +48,7 @@ jobs:
4748
- name: Build binaries
4849
run: bash tool/build_linux.sh aarch64
4950

51+
- uses: actions/checkout@v3
5052
- name: Upload binary
5153
if: github.event_name == 'workflow_dispatch'
5254
uses: ./.github/actions/upload

.github/workflows/release.yml

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

132+
- uses: actions/checkout@v3
132133
- name: Upload binary
133134
uses: ./.github/actions/upload
134135
with:
@@ -154,6 +155,7 @@ jobs:
154155
- name: Build binaries
155156
run: bash tool/build_linux.sh aarch64
156157

158+
- uses: actions/checkout@v3
157159
- name: Upload binary
158160
uses: ./.github/actions/upload
159161
with:
@@ -173,6 +175,7 @@ jobs:
173175
- name: Build binary
174176
run: bash tool/build_windows.sh x64
175177

178+
- uses: actions/checkout@v3
176179
- name: Upload binary
177180
uses: ./.github/actions/upload
178181
with:
@@ -192,6 +195,7 @@ jobs:
192195
- name: Build binary
193196
run: bash tool/build_macos.sh aarch64
194197

198+
- uses: actions/checkout@v3
195199
- name: Upload binary
196200
uses: ./.github/actions/upload
197201
with:

.github/workflows/windows.yml

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

18+
- uses: actions/checkout@v3
1819
- name: Upload binary
1920
if: github.event_name == 'workflow_dispatch'
2021
uses: ./.github/actions/upload

0 commit comments

Comments
 (0)