Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

outputs not set #79

Open
Venipa opened this issue Jul 3, 2020 · 0 comments
Open

outputs not set #79

Venipa opened this issue Jul 3, 2020 · 0 comments

Comments

@Venipa
Copy link

Venipa commented Jul 3, 2020

from job console:

Run actions/[email protected]
  with:
    asset_path: ./release.zip
    asset_name: release-.zip
    asset_content_type: application/zip
  env:
    RELEASE_VERSION: v0.0.22
    GITHUB_TOKEN: ***
##[error]Input required and not supplied: upload_url

workflow

    - name: Create a Release
      id: create_release
      uses: actions/create-release@v1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        tag_name: ${{ env.RELEASE_VERSION }}
        release_name: Pre Release - ${{ env.RELEASE_VERSION }}
        draft: false
        prerelease: true
    - name: Upload a Release Asset
      uses: actions/[email protected]
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        upload_url: ${{ steps.create_release.outputs.upload_url }}
        asset_path: ./release.zip
        asset_name: release-${{ steps.create_release.outputs.id }}.zip
        asset_content_type: application/zip
@Venipa Venipa changed the title outputs not set not set outputs not set Jul 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant