diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bbe3ccdb23..aea99dc342 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: id: create_release uses: actions/create-release@v1 env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} default expires GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} with: tag_name: ${{ steps.version.outputs.version }} @@ -55,6 +55,9 @@ jobs: - name: Upload Release Artifacts uses: actions/upload-release-asset@v1 + env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} default expires + GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./target/myrobotlab.zip