Skip to content

Commit

Permalink
Merge pull request #14 from wemogy/main
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
SebastianKuesters authored Sep 19, 2024
2 parents eab1815 + b54087d commit 852d157
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,22 @@ on:

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: "write"
packages: "write"
steps:
- uses: wemogy/[email protected]
id: next-version
with:
token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/setup-dotnet@v1
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 5.0.x
dotnet-version: 8.0.x

- name: Create Nuget package
run: nuget pack -Version ${{ steps.next-version.outputs.next-version }}
Expand All @@ -28,7 +32,7 @@ jobs:
working-directory: ${{ steps.release-version.outputs.folder }}

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.next-version.outputs.next-version-name }}
name: Version ${{ steps.next-version.outputs.next-version }}
Expand Down
2 changes: 1 addition & 1 deletion Wemogy.StyleCop.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<authors>wemogy GmbH</authors>
<repository type="git" url="https://github.com/wemogy/stylecop.git" />
<dependencies>
<dependency id="StyleCop.Analyzers" version="1.2.0-beta.435" />
<dependency id="StyleCop.Analyzers" version="1.2.0-beta.556" />
</dependencies>
</metadata>
<files>
Expand Down

0 comments on commit 852d157

Please sign in to comment.