Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
beyenilmez committed Jun 27, 2024
1 parent 0744b65 commit 833cfd2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- development
- main
- rewrite-2
pull_request:
branches:
- development
Expand Down Expand Up @@ -65,7 +66,7 @@ jobs:
path: build/bin/*

extract-version:
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/rewrite-2'
name: Extract version
runs-on: ubuntu-latest

Expand All @@ -83,7 +84,7 @@ jobs:
echo "version=$version" >> $GITHUB_OUTPUT
create-release:
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/rewrite-2'
name: Create release
needs: [extract-version, package]
runs-on: ubuntu-latest
Expand Down

0 comments on commit 833cfd2

Please sign in to comment.