We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17877fb + 38e07af commit b186007Copy full SHA for b186007
.github/workflows/dotnet.yml
@@ -2,10 +2,10 @@ name: .NET build and test
2
env:
3
CURRENT_VERSION: 1.0.${{ github.run_number }}
4
LAST_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
5
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6
7
on:
8
push:
- pull_request:
9
10
jobs:
11
build:
@@ -27,7 +27,7 @@ jobs:
27
run: dotnet test --no-build --verbosity normal --configuration Release
28
29
deployRelease:
30
- if: github.ref == 'refs/heads/main'
+ if: github.ref == 'refs/heads/release'
31
runs-on: ubuntu-latest
32
needs: build
33
permissions:
@@ -61,7 +61,7 @@ jobs:
61
exit 1
62
}
63
deployTest:
64
- if: github.ref != 'refs/heads/main'
+ # if: github.ref == 'refs/heads/main'
65
66
67
steps:
0 commit comments