Only create single release

This commit is contained in:
Christian Semmler 2025-06-14 21:11:51 -07:00
parent 51b3a2334b
commit 03b3acd284

View File

@ -6,7 +6,7 @@ on:
- master - master
jobs: jobs:
release: build:
name: ${{ matrix.name }} name: ${{ matrix.name }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
defaults: defaults:
@ -83,6 +83,24 @@ jobs:
cd build cd build
cpack . cpack .
- name: Upload Artifact
uses: actions/upload-artifact@main
with:
name: Release
path: |
build/dist/isle-*
release:
name: 'Release'
runs-on: ubuntu-latest
needs: build
steps:
- name: Download All Artifacts
uses: actions/download-artifact@main
with:
name: Release
path: Release
- name: Checkout uploadtool - name: Checkout uploadtool
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
@ -93,5 +111,4 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
export UPLOADTOOL_SUFFIX="${{ matrix.name }}" ./uploadtool/upload.sh Release/*
./uploadtool/upload.sh build/dist/isle-*