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 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
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 @@ -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/*
Expand Down Expand Up @@ -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
Expand Down