Skip to content

v0.2.1

Compare
Choose a tag to compare
@GeoffreyHayward GeoffreyHayward released this 11 Aug 09:56
· 5 commits to main since this release
cbb0c43

It turns out upload_url_token was not needed under with as composite actions can take an env.

This change allows for a complete match of the original actions/upload-release-asset interface, making switching very easy.

- uses: ./.github/actions/upload-release-asset
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  with:
    upload_url: ${{ github.event.release.upload_url }}
    asset_path: path/to/asset/example.zip
    asset_name: example-${{ github.ref_name }}.zip
    asset_content_type: application/zip