Skip to content

Commit

Permalink
Improved release default name, Added missing assets
Browse files Browse the repository at this point in the history
Update geojson-release.yml
  • Loading branch information
aziascreations committed Nov 12, 2023
1 parent 35e5e1c commit e60a5b6
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/geojson-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
release_name: Release for ${{ github.ref_name }} @ ${{ github.sha }}
body: |
Changes in this Release
- First Change
- Second Change
Automatic update release made through GitHub Actions.
draft: true
prerelease: false

Expand All @@ -55,4 +53,14 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./output/airports_full_all_feet.geojson
asset_name: airports_full_all_feet.geojson
asset_content_type: application/geo+json
asset_content_type: application/geo+json

- name: Upload asset `full_all_meter`
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./output/airports_full_all_meter.geojson
asset_name: airports_full_all_meter.geojson
asset_content_type: application/geo+json

0 comments on commit e60a5b6

Please sign in to comment.