workflow changes 10
This commit is contained in:
parent
cd7d19a57f
commit
af9702053c
|
@ -2,6 +2,7 @@ name: Workflow
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches: ['**']
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
|
||||||
|
@ -24,7 +25,7 @@ jobs:
|
||||||
# new_tag: ${{ steps.bump_version.outputs.new_tag }}
|
# new_tag: ${{ steps.bump_version.outputs.new_tag }}
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform: [gcc]
|
platform: [gcc]
|
||||||
|
@ -52,7 +53,7 @@ jobs:
|
||||||
path: linux-amd64.tar.gz
|
path: linux-amd64.tar.gz
|
||||||
|
|
||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-10.15
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Setup Ninja
|
- name: Setup Ninja
|
||||||
|
@ -120,6 +121,7 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
includeOpen: true
|
includeOpen: true
|
||||||
|
fromTag: "v0.3.0"
|
||||||
- name: Create release
|
- name: Create release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
|
Loading…
Reference in New Issue