From 457b645f3cd2affb3245809d4b5b420885dd508e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Fri, 10 Apr 2020 18:28:28 +0200 Subject: [PATCH] Use a personal access token to publish bins The default GITHUB_TOKEN expires after 1h --- .github/workflows/publish-binaries.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-binaries.yml b/.github/workflows/publish-binaries.yml index 7314e40cd..e556be56a 100644 --- a/.github/workflows/publish-binaries.yml +++ b/.github/workflows/publish-binaries.yml @@ -33,7 +33,7 @@ jobs: - name: Upload binaries to release uses: svenstaro/upload-release-action@v1-release with: - repo_token: ${{ secrets.GITHUB_TOKEN }} + repo_token: ${{ secrets.PUBLISH_TOKEN }} file: target/release/${{ matrix.artifact_name }} asset_name: ${{ matrix.asset_name }} tag: ${{ github.ref }} @@ -57,7 +57,7 @@ jobs: - name: Upload the binary to release uses: svenstaro/upload-release-action@v1-release with: - repo_token: ${{ secrets.GITHUB_TOKEN }} + repo_token: ${{ secrets.PUBLISH_TOKEN }} file: target/release/meilisearch asset_name: meilisearch-linux-armv7 tag: ${{ github.ref }} @@ -81,7 +81,7 @@ jobs: - name: Upload the binary to release uses: svenstaro/upload-release-action@v1-release with: - repo_token: ${{ secrets.GITHUB_TOKEN }} + repo_token: ${{ secrets.PUBLISH_TOKEN }} file: target/release/meilisearch asset_name: meilisearch-linux-armv8 tag: ${{ github.ref }}