Skip to content

Commit

Permalink
Update to new deployment (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smaug123 authored Feb 29, 2024
1 parent c16fce5 commit c9b02d6
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,20 @@ jobs:
runs-on: ubuntu-latest
if: ${{ !github.event.repository.fork && github.ref == 'refs/heads/main' }}
needs: [all-required-checks-complete]
environment: main-deploy
permissions:
contents: write
environment: release
steps:
- name: Generate app token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- name: Download NuGet artifact
uses: actions/download-artifact@v4
- name: Tag and release packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: bash .github/workflows/tag.sh

0 comments on commit c9b02d6

Please sign in to comment.