Merge pull request #604 from meilisearch/personal-token-binaries

Use a personal access token to publish release binaries
This commit is contained in:
Clément Renault 2020-04-10 22:51:30 +02:00 committed by GitHub
commit b7c287ffb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ jobs:
- name: Upload binaries to release - name: Upload binaries to release
uses: svenstaro/upload-release-action@v1-release uses: svenstaro/upload-release-action@v1-release
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.PUBLISH_TOKEN }}
file: target/release/${{ matrix.artifact_name }} file: target/release/${{ matrix.artifact_name }}
asset_name: ${{ matrix.asset_name }} asset_name: ${{ matrix.asset_name }}
tag: ${{ github.ref }} tag: ${{ github.ref }}
@ -57,7 +57,7 @@ jobs:
- name: Upload the binary to release - name: Upload the binary to release
uses: svenstaro/upload-release-action@v1-release uses: svenstaro/upload-release-action@v1-release
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.PUBLISH_TOKEN }}
file: target/release/meilisearch file: target/release/meilisearch
asset_name: meilisearch-linux-armv7 asset_name: meilisearch-linux-armv7
tag: ${{ github.ref }} tag: ${{ github.ref }}
@ -81,7 +81,7 @@ jobs:
- name: Upload the binary to release - name: Upload the binary to release
uses: svenstaro/upload-release-action@v1-release uses: svenstaro/upload-release-action@v1-release
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.PUBLISH_TOKEN }}
file: target/release/meilisearch file: target/release/meilisearch
asset_name: meilisearch-linux-armv8 asset_name: meilisearch-linux-armv8
tag: ${{ github.ref }} tag: ${{ github.ref }}