Skip to content

Commit

Permalink
github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ctolkien committed Jan 17, 2023
1 parent 0e988ed commit 63329c0
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,18 @@ on:
workflow_call:
workflow_dispatch:


jobs:
deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: artifact
- name: Display structure of downloaded files
run: ls -R
- name: Pack
run: dotnet pack --configuration release --output ${{ github.workspace}}/output/
- name: Push
run: dotnet nuget push ${{ github.workspace}}/artifact/*.nupkg --source https://nuget.pkg.github.com/ctolkien/index.json --api-key ${GITHUB_TOKEN} --skip-duplicate
run: dotnet nuget push ${{ github.workspace}}/output/*.nupkg --source https://nuget.pkg.github.com/ctolkien/index.json --api-key ${GITHUB_TOKEN} --skip-duplicate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create GitHub Release
run: "gh release create 'Release ${{ env.ReleaseName }}' --generate-notes"
run: "gh release create 'Release Test' --draft --generate-notes"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 63329c0

Please sign in to comment.