mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Add -Dofficial_release=true when a new tag is published (#214)
When a new tag is published, run the workflow to build the actifact with the arg "-Dofficial_release=true"
This commit is contained in:
parent
b0fc741099
commit
5fa6e4ee9b
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -3,6 +3,7 @@ name: Meson CI
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
tags: [ 'v*' ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
workflow_dispatch:
|
||||
@ -122,7 +123,7 @@ jobs:
|
||||
sudo apt-get install ninja-build build-essential libx11-dev libwxgtk3.0-gtk3-dev libfreetype6-dev pkg-config libfontconfig1-dev libass-dev libasound2-dev libffms2-dev intltool libboost-all-dev
|
||||
|
||||
- name: Configure
|
||||
run: meson build ${{ matrix.config.args }} -Dbuildtype=${{ matrix.config.buildtype }}
|
||||
run: meson build ${{ matrix.config.args }} -Dbuildtype=${{ matrix.config.buildtype }} ${{ github.ref_type == 'tag' && '-Dofficial_release=true' || '' }}
|
||||
|
||||
- name: Build
|
||||
run: meson compile -C build
|
||||
|
Loading…
x
Reference in New Issue
Block a user