Skip to content

Commit 1af921f

Browse files
authored
Update deprecated github upload action (#6)
1 parent 1837877 commit 1af921f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release-go-task.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,19 @@ jobs:
4141
run: task dist:all
4242

4343
- name: Upload artifacts
44-
uses: actions/upload-artifact@v2
44+
uses: actions/upload-artifact@v4
4545
with:
4646
if-no-files-found: error
4747
name: ${{ env.ARTIFACT_NAME }}
4848
path: ${{ env.DIST_DIR }}
4949

5050
create-release:
5151
runs-on: ubuntu-latest
52+
needs: create-release-artifacts
5253

5354
steps:
5455
- name: Download artifact
55-
uses: actions/download-artifact@v2
56+
uses: actions/download-artifact@v4
5657
with:
5758
name: ${{ env.ARTIFACT_NAME }}
5859
path: ${{ env.DIST_DIR }}

0 commit comments

Comments
 (0)