OpenDRR / earthquake-scenarios

Public repository for earthquake scenarios from the National catalogue / Dépôt public de scénarios de tremblements de terre du catalogue national
https://opendrr.github.io/earthquake-scenarios/
3 stars 8 forks source link

generate_assets.yml: Fix "Cannot upload assets for release..." #80

Closed anthonyfok closed 1 year ago

anthonyfok commented 1 year ago

Switch to xresloader/upload-to-github-release@v1, changed push trigger and add an input field for release tag for manual trigger, to try to resolve the following error when release v1.2.1 was published:

Run AButler/upload-release-assets@v2.0
Warning: Cannot upload assets for release which is being released

See https://github.com/OpenDRR/earthquake-scenarios/actions/runs/4737851962/jobs/8411089719 for the error message in context before the workflow log expires.

Also upgrade to actions/checkout@v3, and delete Android and .NET files inside ubuntu-22.04 runner to make more room.

anthonyfok commented 1 year ago

I forgot to add that this was tested successfully in my fork of the repo; see:

where the run for the fictitious v1.2.1 was triggered manually, and the run for the fictitious v1.2.2 was triggered upon creation and publishing of the v1.2.2 release tag. Thanks!

drotheram commented 1 year ago

Looks fine to me

anthonyfok commented 1 year ago

Thank you so much @wkhchow and @drotheram!