Skip to content

Commit

Permalink
Update build-and-publish.yml (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
runceel authored Dec 21, 2023
1 parent 7e977ce commit b9884cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
shell: pwsh
run: |
$doc = [XML](Get-Content 'Source\Directory.Build.props')
echo "version=$($doc.Project.PropertyGroup.Version) >> $GITHUB_OUTPUT"
echo "version=$($doc.Project.PropertyGroup.Version)" >> $GITHUB_OUTPUT
- name: Install dependencies
run: dotnet restore ReactiveProperty.sln
- name: Build
Expand Down Expand Up @@ -80,8 +80,8 @@ jobs:
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "v${{ needs.build.outputs.version }}"
automatic_release_tag: ${{ needs.build.outputs.version }}
prerelease: ${{ contains(needs.build.outputs.version, '-pre') }}
title: "Release v${{ needs.build.outputs.version }}"
title: Release ${{ needs.build.outputs.version }}
files: |
dist/*.nupkg

0 comments on commit b9884cb

Please sign in to comment.