From e3b7931b206751c45f8034d51fc6eba5402f7e1e Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 19 Feb 2022 13:33:07 +0000 Subject: [PATCH] Automatically upload artifacts as release files Signed-off-by: falkTX --- .github/workflows/release.yml | 33 ++++++++++++++++++++++++++++----- Carla | 2 +- 2 files changed, 29 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6512a3d..86df381 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,11 +2,7 @@ name: release on: push: - branches: - - '*' - pull_request: - branches: - - '*' + env: CACHE_VERSION: 4 DEBIAN_FRONTEND: noninteractive @@ -75,6 +71,15 @@ jobs: with: name: macOS universal package path: Carla/*.dmg + - uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + tag_name: ${{ github.ref_name }} + name: ${{ github.ref_name }} + draft: false + prerelease: false + files: | + path: Carla/*.dmg # linux with win32 cross-compilation win32: @@ -121,6 +126,15 @@ jobs: with: name: win32 installer path: Carla/*.zip + - uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + tag_name: ${{ github.ref_name }} + name: ${{ github.ref_name }} + draft: false + prerelease: false + files: | + path: Carla/*.zip # linux with win64 cross-compilation win64: @@ -167,3 +181,12 @@ jobs: with: name: win64 installer path: Carla/*.zip + - uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + tag_name: ${{ github.ref_name }} + name: ${{ github.ref_name }} + draft: false + prerelease: false + files: | + path: Carla/*.zip diff --git a/Carla b/Carla index 08bc05c..7b8eeef 160000 --- a/Carla +++ b/Carla @@ -1 +1 @@ -Subproject commit 08bc05c4f985fa79f76ce3d55537f92904a3cb17 +Subproject commit 7b8eeef343ae4fd3405361ea06753a26e75f6a89