Use GitHub default repo token in build action

As we this workflow modifies only the same repo, no extra token
(`CAPA_TOKEN`) is needed and we can use the default `GITHUB TOKEN`
instead.
This commit is contained in:
Ana María Martínez Gómez
2020-08-14 20:55:56 +02:00
parent 9c40befdd3
commit 35226e1e4e

View File

@@ -45,7 +45,8 @@ jobs:
- name: Upload binaries to GH Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.CAPA_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/${{ matrix.artifact_name }}
asset_name: ${{ matrix.asset_name }}
tag: ${{ github.ref }}
tag: ${{ github.ref }}