From 6afd7fcb1c938a3ffcb952cc0ed54cd9ab9351f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Israelson?= <57065102+israpps@users.noreply.github.com> Date: Tue, 15 Nov 2022 22:43:54 -0300 Subject: [PATCH] dispatch debug builds to tagged release assets --- .github/workflows/compilation.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index 1ea9f67fe..fcea8660d 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -158,11 +158,11 @@ jobs: - name: Upload variants artifact ELF uses: actions/upload-artifact@v3 with: - name: opl-debug-${{ steps.version.outputs.version }}-${{ matrix.docker }} + name: opl-debug-${{ steps.version.outputs.version }} path: opl-*.elf release: - needs: [build, build-variants, build-lang] + needs: [build, build-variants, build-debug, build-lang] runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master' env: @@ -185,6 +185,7 @@ jobs: run: | cp INFO/* OPNPS2LD/ cp INFO/* OPNPS2LD-VARIANTS/ + 7z a -t7z OPNPS2LD-DEBUG-${{ steps.version.outputs.version }}.7z opl-debug-${{ steps.version.outputs.version }}/*.elf 7z a -t7z OPNPS2LD-${{ steps.version.outputs.version }}.7z OPNPS2LD/* 7z a -t7z OPNPS2LD-VARIANTS-${{ steps.version.outputs.version }}.7z OPNPS2LD-VARIANTS/* 7z a -t7z OPNPS2LD-LANGS-${{ steps.version.outputs.version }}.7z OPNPS2LD-LANGS/* @@ -216,6 +217,7 @@ jobs: prerelease: "${{ contains(github.ref, '-rc') }}" title: "${{ steps.version.outputs.version }}" files: | + OPNPS2LD-DEBUG-${{ steps.version.outputs.version }}.7z OPNPS2LD-${{ steps.version.outputs.version }}.7z OPNPS2LD-VARIANTS-${{ steps.version.outputs.version }}.7z OPNPS2LD-LANGS-${{ steps.version.outputs.version }}.7z