Skip to content

Commit 6f7255e

Browse files
authored
Merge pull request #43 from FrankYang0529/HARV-SEC-60
feat: use gh tool to upload artifacts
2 parents 4f7d4c5 + 06db6af commit 6f7255e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/build.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ jobs:
2424
run: dapper ci
2525

2626
- name: Release
27-
uses: softprops/action-gh-release@v2
2827
if: startsWith(github.ref, 'refs/tags/')
29-
with:
30-
files: |
31-
dist/artifacts/rancherd-amd64
32-
dist/artifacts/rancherd-arm64
33-
dist/artifacts/sha256sum-amd64.txt
34-
dist/artifacts/sha256sum-arm64.txt
28+
run: |
29+
gh release upload ${{ github.ref_name }} dist/artifacts/rancherd-amd64
30+
gh release upload ${{ github.ref_name }} dist/artifacts/rancherd-arm64
31+
gh release upload ${{ github.ref_name }} dist/artifacts/sha256sum-amd64.txt
32+
gh release upload ${{ github.ref_name }} dist/artifacts/sha256sum-arm64.txt

0 commit comments

Comments
 (0)