Skip to content

Commit

Permalink
CI: restore github releases creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwa committed Feb 4, 2024
1 parent 06b5e6d commit 83798c4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/continuous-building.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ jobs:
path: ericw-tools-linux/
name: ericw-tools-${{ github.sha }}-linux
if-no-files-found: error
- name: 'Linux: Create GitHub Release and upload build'
uses: softprops/action-gh-release@v1
if: ${{ startsWith(matrix.os, 'ubuntu-') && matrix.use-asan == 'NO' && startsWith(github.ref, 'refs/tags/') }}
with:
draft: true
files: |
build-linux/*-Linux.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: 'macOS: Install Qt5'
if: ${{ startsWith(matrix.os, 'macos-') }}
Expand All @@ -69,6 +78,15 @@ jobs:
path: ericw-tools-macos/
name: ericw-tools-${{ github.sha }}-macos
if-no-files-found: error
- name: 'macOS: Create GitHub Release and upload build'
uses: softprops/action-gh-release@v1
if: ${{ startsWith(matrix.os, 'macos-') && matrix.use-asan == 'NO' && startsWith(github.ref, 'refs/tags/') }}
with:
draft: true
files: |
build-osx/*-Darwin.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: 'Windows: Setup MSVC environment'
if: startsWith(matrix.os, 'windows-')
Expand All @@ -94,3 +112,12 @@ jobs:
path: ericw-tools-windows/
name: ericw-tools-${{ github.sha }}-windows
if-no-files-found: error
- name: 'Windows: Create GitHub Release and upload build'
uses: softprops/action-gh-release@v1
if: ${{ startsWith(matrix.os, 'windows-') && matrix.use-asan == 'NO' && startsWith(github.ref, 'refs/tags/') }}
with:
draft: true
files: |
build-windows\*-win64.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 83798c4

Please sign in to comment.