Skip to content

Commit

Permalink
chore: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackfaded committed Sep 2, 2024
1 parent 3c4beb4 commit c56fe36
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
runs-on: ubuntu-22.04
permissions:
contents: read
contents: write
packages: write
steps:
- name: Checkout repository
Expand All @@ -23,7 +23,11 @@ jobs:
# run: ./scripts.sh publish ${{ secrets.NUGET_TOKEN }}
- name: Zip files
run: zip -r release.zip lib/PCPServerSDKDotNet/bin/Release
- name: Set latest given to github output
id: set-tag
run: echo "tag=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
- name: Release
uses: softprops/action-gh-release@v2
uses: ncipollo/release-action@v1
with:
files: release.zip
artifacts: release.zip
tag: ${{ steps.set-tag.outputs.tag }}

0 comments on commit c56fe36

Please sign in to comment.