Browse Source

Automatically upload artifacts as release files

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.4.2^0
falkTX 2 years ago
parent
commit
e3b7931b20
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 29 additions and 6 deletions
  1. +28
    -5
      .github/workflows/release.yml
  2. +1
    -1
      Carla

+ 28
- 5
.github/workflows/release.yml View File

@@ -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

+ 1
- 1
Carla

@@ -1 +1 @@
Subproject commit 08bc05c4f985fa79f76ce3d55537f92904a3cb17
Subproject commit 7b8eeef343ae4fd3405361ea06753a26e75f6a89

Loading…
Cancel
Save