Skip to content

Commit dd73862

Browse files
committed
[tailscale] .github: stop using upload-release-asset action
Change to use `action-gh-release` instead of `upload-release-asset` as the repo for `upload-release-asset` is in public archive and recommends swapping over to `action-gh-release`. Updates #47 Signed-off-by: Mario Minardi <mario@tailscale.com>
1 parent 7426231 commit dd73862

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/build.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,10 @@ jobs:
109109
with:
110110
name: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}
111111
- name: upload artifact
112-
uses: actions/upload-release-asset@v1
113-
env:
114-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112+
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
115113
with:
116-
upload_url: ${{ needs.create_release.outputs.url }}
117-
asset_path: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}.tar.gz
118-
asset_name: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}.tar.gz
119-
asset_content_type: application/gzip
114+
files: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}.tar.gz
115+
token: ${{ secrets.GITHUB_TOKEN }}
120116

121117
clean_old:
122118
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)