From c5831eb98287a66c4549e38ca5652bf87f182e3b Mon Sep 17 00:00:00 2001 From: Roman <34835155+CuberHuber@users.noreply.github.com> Date: Wed, 6 Nov 2024 14:27:34 +0300 Subject: [PATCH] Update build-release.yml --- .github/workflows/build-release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index c6684cf..15f232c 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -52,7 +52,7 @@ jobs: id: create_release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} with: tag_name: ${{ steps.get_date.outputs.TAG_NAME }} release_name: Release ${{ steps.get_date.outputs.TAG_NAME }} @@ -64,7 +64,7 @@ jobs: - name: Upload config.json to Release uses: actions/upload-release-asset@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./${{env.CONFIG_FILE}} @@ -73,9 +73,9 @@ jobs: - name: Upload config.json to Release uses: actions/upload-release-asset@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: './plugin.xml' asset_name: 'plugin.xml' - asset_content_type: application/json \ No newline at end of file + asset_content_type: application/json