Skip to content

Commit

Permalink
Fix the release workflow (#234)
Browse files Browse the repository at this point in the history
Co-authored-by: Jo Palac <jo.palac@particular.net>
  • Loading branch information
danielmarbach and jpalac committed Feb 13, 2023
1 parent 3f60100 commit b21a61d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Expand Up @@ -11,14 +11,13 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3.2.0
uses: actions/checkout@v3.3.0
with:
fetch-depth: 0

- name: Setup .NET SDK
uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: 5.0.x
dotnet-version: 7.0.x
- name: Build
run: dotnet build src --configuration Release
- name: Sign NuGet packages
Expand All @@ -29,13 +28,12 @@ jobs:
client-secret: ${{ secrets.AZURE_KEY_VAULT_CLIENT_SECRET }}
certificate-name: ${{ secrets.AZURE_KEY_VAULT_CERTIFICATE_NAME }}
- name: Publish artifacts
uses: actions/upload-artifact@v3.1.1
uses: actions/upload-artifact@v3.1.2
with:
name: nugets
path: nugets/*
retention-days: 1
- name: Deploy
uses: Particular/push-octopus-package-action@v1.0.0
- name: Deploy
uses: Particular/push-octopus-package-action@v1.1.0
with:
octopus-deploy-api-key: ${{ secrets.OCTOPUS_DEPLOY_API_KEY }}

octopus-deploy-api-key: ${{ secrets.OCTOPUS_DEPLOY_API_KEY }}

0 comments on commit b21a61d

Please sign in to comment.