Closed vitek-urbanec closed 3 years ago
Hello,
I'm testing uploading binaries to releases with an explicit definition of the upload_url, but I keep getting this error.
upload_url
Error: Invalid name for request "."
Workflow:
test_run: runs-on: ubuntu-latest steps: - name: create stuff run: | wget http://ipv4.download.thinkbroadband.com/50MB.zip -P ./stuff - name: upload release asset id: upload-release-asset uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: https://uploads.github.com/repos/Hatch-Arcade/jenkins-infra-tests/releases/v1/assets asset_path: ./stuff/50MB.zip asset_name: 50MB-via-action.zip asset_content_type: application/zip
Output:
##[debug]Evaluating: secrets.GITHUB_TOKEN ##[debug]Evaluating Index: ##[debug]..Evaluating secrets: ##[debug]..=> Object ##[debug]..Evaluating String: ##[debug]..=> 'GITHUB_TOKEN' ##[debug]=> '***' ##[debug]Result: '***' ##[debug]Evaluating condition for step: 'upload release asset' ##[debug]Evaluating: success() ##[debug]Evaluating success: ##[debug]=> true ##[debug]Result: true ##[debug]Starting: upload release asset ##[debug]Loading inputs ##[debug]Loading env Run actions/upload-release-asset@v1 with: upload_url: https://uploads.github.com/repos/Hatch-Arcade/jenkins-infra-tests/releases/v1/assets asset_path: ./stuff/50MB.zip asset_name: 50MB-via-action.zip asset_content_type: application/zip env: GITHUB_TOKEN: *** Error: Invalid name for request "." ##[debug]Node Action run completed with exit code 1 ##[debug]Finishing: upload release asset
Nevermind, the upload_url was missing params. Closing.
Hello,
I'm testing uploading binaries to releases with an explicit definition of the
upload_url
, but I keep getting this error.Workflow:
Output: