From bed89ff7ea8f3c6dbfa7f5dcc8feed7045570916 Mon Sep 17 00:00:00 2001 From: Jeppe Rask Date: Sat, 20 Aug 2022 16:54:33 +0200 Subject: [PATCH] Trying non deprecated github action --- .github/workflows/release.yml | 47 +++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 477e6be..ea8c18c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,23 +32,32 @@ jobs: # Verify changelog has entry with new version - - name: Create release - uses: actions/create-release@v1 - id: create_release + - name: Release + uses: softprops/action-gh-release@v1 + name: ${{ steps.version.outputs.version }} + fail_on_unmatched_files: true + prerelease: false + draft: false with: - draft: false - prerelease: false - release_name: ${{ steps.version.outputs.version }} - tag_name: ${{ github.ref }} - env: - GITHUB_TOKEN: ${{ github.token }} - - - name: Upload artifacts - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ github.token }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: static.zip - asset_name: static.zip - asset_content_type: application/gzip \ No newline at end of file + files: static.zip + + # - name: Create release + # uses: actions/create-release@v1 + # id: create_release + # with: + # draft: false + # prerelease: false + # release_name: ${{ steps.version.outputs.version }} + # tag_name: ${{ github.ref }} + # env: + # GITHUB_TOKEN: ${{ github.token }} + + # - name: Upload artifacts + # uses: actions/upload-release-asset@v1 + # env: + # GITHUB_TOKEN: ${{ github.token }} + # with: + # upload_url: ${{ steps.create_release.outputs.upload_url }} + # asset_path: static.zip + # asset_name: static.zip + # asset_content_type: application/gzip \ No newline at end of file