Skip to content

Commit

Permalink
update workflows to use upload/download artifacts v4
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Dec 12, 2024
1 parent 69c6630 commit aa242d4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/_shared-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:

# upload artifacts
- name: "Upload artifact: spamoor_linux_amd64"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ./bin/*
name: spamoor_linux_amd64
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:

# upload artifacts
- name: "Upload artifact: spamoor_linux_arm64"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ./bin/*
name: spamoor_linux_arm64
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:

# upload artifacts
- name: "Upload artifact: spamoor_windows_amd64"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ./bin/*
name: spamoor_windows_amd64
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:

# upload artifacts
- name: "Upload artifact: spamoor_darwin_amd64"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ./bin/*
name: spamoor_darwin_amd64
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:

# upload artifacts
- name: "Upload artifact: spamoor_darwin_arm64"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ./bin/*
name: spamoor_darwin_arm64
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:

# download build artifacts
- name: Download build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: spamoor_linux_amd64
path: ./bin
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:

# download build artifacts
- name: Download build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: spamoor_linux_arm64
path: ./bin
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
steps:
# download build artifacts
- name: "Download build artifacts"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

# (re)create snapshot binary release
- name: Update snapshot tag & remove previous snapshot release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
# download build artifacts
- name: "Download build artifacts"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

# create draft release
- name: Create latest release
Expand Down

0 comments on commit aa242d4

Please sign in to comment.