Skip to content

Commit dc9868a

Browse files
authored
ci: update artifact actions to v4
1 parent 91c8273 commit dc9868a

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
matrix:
1515
goos: [linux, darwin, windows]
1616
goarch: [amd64, arm64]
17-
# Example: exclude certain combinations if unsupported
1817
exclude:
1918
- goos: darwin
2019
goarch: arm64
@@ -43,7 +42,7 @@ jobs:
4342
run: ls -lh
4443

4544
- name: Upload artifacts
46-
uses: actions/upload-artifact@v3
45+
uses: actions/upload-artifact@v4
4746
with:
4847
name: ApproveGuard-${{ matrix.goos }}-${{ matrix.goarch }}
4948
path: "./ApproveGuard-${{ matrix.goos }}-${{ matrix.goarch }}"
@@ -56,7 +55,7 @@ jobs:
5655
uses: actions/checkout@v3
5756

5857
- name: Download all artifacts
59-
uses: actions/download-artifact@v3
58+
uses: actions/download-artifact@v4
6059

6160
- name: List all downloaded artifacts
6261
run: ls -la
@@ -69,15 +68,3 @@ jobs:
6968
./ApproveGuard-*/*
7069
env:
7170
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
72-
73-
# Example Docker build step (commented out):
74-
# - name: Build and push Docker image
75-
# uses: docker/build-push-action@v4
76-
# with:
77-
# context: .
78-
# file: ./Dockerfile
79-
# # platforms might match your build matrix or a custom list
80-
# platforms: linux/amd64,linux/arm64
81-
# push: true
82-
# env:
83-
# GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)