Skip to content

Commit

Permalink
Set up release version workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
koliyo committed Sep 29, 2023
1 parent c90eb12 commit 13b0a37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ name: Build and test
# steps run on Linux platforms, as `act` is implemented with Docker containers.

on:
workflow_call:
push:
tags: ["v*.*.*"]
# tags: ["v*.*.*"]
branches: [ main ]
paths-ignore:
- "Docs/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish-release-version.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Publish release version

on:
workflow_run:
workflows: ["Build and test"]
push:
tags: ["v*.*.*"]
types: [completed]

jobs:
build:
uses: ./.github/workflows/build-and-test.yml
publish-release:
needs: [build]
strategy:
fail-fast: false

Expand Down

0 comments on commit 13b0a37

Please sign in to comment.