Skip to content

Commit e4619af

Browse files
Update release.yml
1 parent af12bc7 commit e4619af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Dump upload url to file
1717
run: echo '${{ steps.get_release.outputs.upload_url }}' > upload_url
1818
- name: Upload upload_url
19-
uses: actions/upload-artifact@v3
19+
uses: actions/upload-artifact@v4
2020
with:
2121
name: upload_url
2222
path: upload_url
@@ -56,7 +56,7 @@ jobs:
5656

5757
steps:
5858
- name: Download upload_url
59-
uses: actions/download-artifact@v3
59+
uses: actions/download-artifact@v4
6060
with:
6161
name: upload_url
6262
path: upload_url
@@ -77,18 +77,18 @@ jobs:
7777
run: |
7878
./build.sh "${{ matrix.platform }}" "${{ matrix.language }}" "${{ matrix.version }}"
7979
shell: bash
80-
8180
- name: Upload Release Asset tgz
8281
uses: shogo82148/actions-upload-release-asset@v1
8382
with:
8483
#upload_url: ${{ github.event.release.upload_url }}
8584
upload_url: ${{ env.UPLOAD_URL }}
8685
asset_path: power-settings-${{ env.RELEASE_VERSION }}-${{ matrix.platform }}-v${{ matrix.version }}.tgz
86+
overwrite: true
8787

8888
- name: Upload Release Asset shasum
8989
uses: shogo82148/actions-upload-release-asset@v1
9090
with:
9191
#upload_url: ${{ github.event.release.upload_url }}
9292
upload_url: ${{ env.UPLOAD_URL }}
9393
asset_path: power-settings-${{ env.RELEASE_VERSION }}-${{ matrix.platform }}-v${{ matrix.version }}.tgz.sha256sum
94-
94+
overwrite: true

0 commit comments

Comments
 (0)