From e60a5b6ff1f7a04d458991b8e19fa2cf2ec5e899 Mon Sep 17 00:00:00 2001 From: Herwin Date: Sun, 12 Nov 2023 21:58:01 +0100 Subject: [PATCH] Improved release default name, Added missing assets Update geojson-release.yml --- .github/workflows/geojson-release.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/geojson-release.yml b/.github/workflows/geojson-release.yml index f7bfa55..47590f2 100644 --- a/.github/workflows/geojson-release.yml +++ b/.github/workflows/geojson-release.yml @@ -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 @@ -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 \ No newline at end of file + 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