Skip to content

Commit

Permalink
Update nuget.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sapiens authored May 6, 2022
1 parent 241ccc3 commit eb3340b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,16 @@ jobs:
pattern: v
replace-with: ''

- name: Set version
env:
ver: ${{ steps.extract-ver.outputs.replaced }}
- name: Show version
run: |
echo ${{ env.ver }}
echo ${{ steps.extract-ver.outputs.replaced }}
- name: Patch version
id: patch
uses: AlexRogalskiy/[email protected]
with:
placeholder: '<Version1><\/Version1>'
replacement: '<Version>${{ env.ver }}</Version>'
replacement: '<Version>${{ steps.extract-ver.outputs.replaced }}</Version>'
sourceFile: src/CavemanTools/CavemanTools.csproj
- name: Proj file
run: |
Expand Down

0 comments on commit eb3340b

Please sign in to comment.