Skip to content

Releases: GeoffreyHayward/upload-release-asset

v0.2.2

11 Aug 10:31
Compare
Choose a tag to compare
  • Removes the unused upload_url_token from the action's inputs.

v0.2.1

11 Aug 09:56
cbb0c43
Compare
Choose a tag to compare

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

v0.2.0

10 Aug 15:26
Compare
Choose a tag to compare

This release is production-ready.

The project began as a demo. However, when making the 'upload-release-asset' step a composite action, I realised this project could be production ready.

Changes:

  • Moves the upload release asset API call to a composite action.
  • Removed the demo release asset. It now uploads real assets.
    • Uploads the composite action as a release asset. So that this can easily be used in other projects.
    • Uploads the LICENSE file as a release asset.
  • Add some more comments to the release-action-workflow.yml file.