Skip to content

Commit e6cff49

Browse files
authored
Update dotnet.yml
Log env values
1 parent cb095ad commit e6cff49

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/dotnet.yml

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
build:
1414

1515
runs-on: ubuntu-latest
16+
env:
17+
PACT_FLOW_BASE_URL: ${{ vars.PACT_FLOW_BASE_URL }}
18+
PACT_FLOW_TOKEN: ${{ vars.PACT_FLOW_TOKEN }}
1619
environment: production
1720
steps:
1821
- uses: actions/checkout@v4
@@ -24,5 +27,9 @@ jobs:
2427
run: dotnet restore
2528
- name: Build
2629
run: dotnet build --no-restore
30+
- name: Read a variable
31+
run: echo "My PACT_FLOW_BASE_URL value is ${{ vars.PACT_FLOW_BASE_URL }}"
32+
- name: Tell me a secret!
33+
run: echo "My PACT_FLOW_TOKEN value is ${{ vars.PACT_FLOW_TOKEN }}"
2734
- name: Test
2835
run: dotnet test --no-build --verbosity normal

0 commit comments

Comments
 (0)