Skip to content

Commit

Permalink
Try to fix environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
markwhitaker committed Sep 18, 2022
1 parent d9fae6c commit 656ba66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-and-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on:

env:
VERSION: ${{github.ref_name}}
ASSEMBLY_VERSION: echo ${{github.ref_name}} | sed -e 's/-.*//'

jobs:
publish-to-nuget:
name: Publish to NuGet.org
runs-on: ubuntu-22.04
steps:
- run: echo "ASSEMBLY_VERSION=$(echo $VERSION | sed -e 's/-.*//')" >> $GITHUB_ENV
- run: echo VERSION=$VERSION
- run: echo ASSEMBLY_VERSION=$ASSEMBLY_VERSION
# - uses: actions/checkout@v2
Expand Down

0 comments on commit 656ba66

Please sign in to comment.