Skip to content

Commit d9b27d9

Browse files
committed
revert workflow changes
1 parent 4dc616e commit d9b27d9

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/package.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,16 +162,13 @@ jobs:
162162
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
163163

164164
- name: Sign packages
165-
env:
166-
AZURE_KEY_VAULT_URL: ${{ secrets.AZURE_KEY_VAULT_URL }}
167-
AZURE_SIGN_CERTIFICATE_ID: ${{ secrets.AZURE_SIGN_CERTIFICATE_ID }}
168165
run: >-
169166
sign code azure-key-vault '**/*.nupkg'
170167
--base-directory '${{ github.workspace }}/packages'
171168
--azure-key-vault-managed-identity true
172169
--azure-credential-type 'azure-cli'
173-
--azure-key-vault-url "$AZURE_KEY_VAULT_URL"
174-
--azure-key-vault-certificate "$AZURE_SIGN_CERTIFICATE_ID"
170+
--azure-key-vault-url '${{ secrets.AZURE_KEY_VAULT_URL }}'
171+
--azure-key-vault-certificate '${{ secrets.AZURE_SIGN_CERTIFICATE_ID }}'
175172
--publisher-name 'Steeltoe'
176173
--description 'Steeltoe'
177174
--description-url 'https://steeltoe.io/'
@@ -252,9 +249,7 @@ jobs:
252249
path: packages
253250

254251
- name: Push packages to nuget.org
255-
env:
256-
STEELTOE_NUGET_API_KEY: ${{ secrets.STEELTOE_NUGET_API_KEY }}
257-
run: dotnet nuget push '${{ github.workspace }}/packages/*.nupkg' --skip-duplicate --api-key "$STEELTOE_NUGET_API_KEY" --source 'nuget.org'
252+
run: dotnet nuget push '${{ github.workspace }}/packages/*.nupkg' --skip-duplicate --api-key '${{ secrets.STEELTOE_NUGET_API_KEY }}' --source 'nuget.org'
258253

259254
open_pr:
260255
name: Open pull request to bump Steeltoe version after stable release

.github/workflows/sonarcube.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
env:
8888
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
8989
run: >-
90-
dotnet sonarscanner begin /k:"SteeltoeOSS_steeltoe" /o:"steeltoeoss" /d:sonar.token="$SONAR_TOKEN"
90+
dotnet sonarscanner begin /k:"SteeltoeOSS_steeltoe" /o:"steeltoeoss" /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
9191
/d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths=**/coverage.opencover.xml
9292
9393
- name: Restore packages
@@ -106,4 +106,4 @@ jobs:
106106
if: ${{ !cancelled() && steps.sonar_begin.outcome == 'success' }}
107107
env:
108108
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
109-
run: dotnet sonarscanner end /d:sonar.token="$SONAR_TOKEN"
109+
run: dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"

0 commit comments

Comments
 (0)