Skip to content

Commit

Permalink
Rename branch to "main" in files (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaplas80 committed Dec 27, 2021
1 parent 908a615 commit 709d6e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
push:
# Preview
branches: [ develop ]
branches: [ main ]
# Stable
tags: [ "v*" ]
release:
Expand Down Expand Up @@ -87,11 +87,11 @@ jobs:
- name: "Build and test"
run: dotnet cake --target=BuildTest --configuration=Release --verbosity=diagnostic

# Preview release on push to develop only
# Preview release on push to main only
# Stable release on version tag push only
push_artifacts:
name: "Push artifacts"
if: github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags/v')
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
needs: [ "build_main", "build_sec" ]
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit 709d6e1

Please sign in to comment.