We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e86d393 commit edeeaeeCopy full SHA for edeeaee
1 file changed
.github/workflows/build-and-sign.yml
@@ -10,6 +10,7 @@ jobs:
10
build:
11
runs-on: ubuntu-latest
12
steps:
13
+ - run: echo "Building branch $GITHUB_REF"
14
- uses: actions/checkout@v3
15
16
- name: Setup .NET
@@ -30,16 +31,16 @@ jobs:
30
31
uses: actions/upload-artifact@v3
32
with:
33
name: BuildArtifacts
- path: src/AClassLibrary/bin/Release/**/*.nupkg
34
+ path: src/AClassLibrary/bin/Release/**/*.nupkg
35
36
sign:
- if: github.ref == 'ref/heads/main' # Only run this job on the main branch
37
+ needs: build
38
+ runs-on: windows-latest
39
+ if: github.ref == 'ref/heads/main'
40
permissions:
41
id-token: write # Required for requesting the JWT
42
- runs-on: windows-latest
- steps:
-
43
+ steps:
44
- name: Download signing config
45
uses: actions/download-artifact@v3
46
0 commit comments