v0.2.1
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