Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dispatch debug builds to tagged release assets #808

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/compilation.yml
Expand Up @@ -158,11 +158,11 @@ jobs:
- name: Upload variants artifact ELF
uses: actions/upload-artifact@v3
with:
name: opl-debug-${{ env.OPL_VERSION }}-${{ matrix.docker }}
name: opl-debug-${{ env.OPL_VERSION }}
path: opl-*.elf

release:
needs: [build, build-variants, build-lang]
needs: [build, build-variants, build-debug, build-lang]
israpps marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master'
env:
Expand All @@ -186,6 +186,7 @@ jobs:
echo packing release of OPL ${{ env.OPL_VERSION }}
cp INFO/* OPNPS2LD/
cp INFO/* OPNPS2LD-VARIANTS/
7z a -t7z OPNPS2LD-DEBUG-${{ env.OPL_VERSION }}.7z opl-debug-${{ env.OPL_VERSION }}/*.elf
7z a -t7z OPNPS2LD-${{ env.OPL_VERSION }}.7z OPNPS2LD/*
7z a -t7z OPNPS2LD-VARIANTS-${{ env.OPL_VERSION }}.7z OPNPS2LD-VARIANTS/*
7z a -t7z OPNPS2LD-LANGS-${{ env.OPL_VERSION }}.7z OPNPS2LD-LANGS/*
Expand Down Expand Up @@ -217,6 +218,7 @@ jobs:
prerelease: "${{ contains(github.ref, '-rc') }}"
title: "${{ env.OPL_VERSION }}"
files: |
OPNPS2LD-DEBUG-${{ env.OPL_VERSION }}.7z
OPNPS2LD-${{ env.OPL_VERSION }}.7z
OPNPS2LD-VARIANTS-${{ env.OPL_VERSION }}.7z
OPNPS2LD-LANGS-${{ env.OPL_VERSION }}.7z
Expand Down