diff --git a/.github/workflows/cmake-multi-platform-make-release.yml b/.github/workflows/cmake-multi-platform-make-release.yml index c4b1d49..75c08bb 100644 --- a/.github/workflows/cmake-multi-platform-make-release.yml +++ b/.github/workflows/cmake-multi-platform-make-release.yml @@ -102,7 +102,7 @@ jobs: - name: Create Release # Create the release on GitHub uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} with: tag_name: ${{ github.sha }} # Use the commit SHA for the tag release_name: "Pre-Alpha-Demo ${{ github.sha }}" # Release name @@ -111,7 +111,7 @@ jobs: - name: Upload Release # Create release on merge 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_name: "${{ github.event.repository.name }}_${{ matrix.os }}.zip" # Filename for the artifact archive