diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c040bb8db9..be7c88b4fb 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -28,8 +28,9 @@ jobs: - name: Create or overwrite a releae # https://github.com/actions/upload-release-asset has been replaced by https://github.com/softprops/action-gh-release uses: softprops/action-gh-release@v1 - with: + env: token: ${{ secrets.MY_GITHUB_TOKEN }} # Use the secret as an environment variable + with: prerelease: true tag_name: nightly files: |