Skip to content

Commit

Permalink
try echo for win
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertK66 committed Feb 5, 2024
1 parent 967a5e3 commit 828d127
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/mypublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,13 @@ jobs:
dotnet-version: 8.0.x


- name: create a custom version using run number offset by 1000 (run_number + 1000)
- name: create the release tag
run: |
echo "mytag=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
if [ "${{ matrix.target }}" == "win-x64" ]; then
echo "set mytag=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
else
echo "mytag=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
fi
- name: Build
shell: bash
Expand Down

0 comments on commit 828d127

Please sign in to comment.