Releases: GeoffreyHayward/upload-release-asset
Releases · GeoffreyHayward/upload-release-asset
v0.2.2
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
v0.2.0
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.