Skip to content

Commit

Permalink
[tailscale] .github: stop using upload-release-asset action
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mpminardi committed Jan 29, 2025
1 parent 7426231 commit dd73862
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,10 @@ jobs:
with:
name: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}
- name: upload artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
with:
upload_url: ${{ needs.create_release.outputs.url }}
asset_path: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}.tar.gz
asset_name: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}.tar.gz
asset_content_type: application/gzip
files: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}.tar.gz
token: ${{ secrets.GITHUB_TOKEN }}

clean_old:
runs-on: ubuntu-24.04
Expand Down

0 comments on commit dd73862

Please sign in to comment.