Skip to content

Commit

Permalink
try step condition
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertK66 committed Feb 5, 2024
1 parent 828d127 commit da41cc0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/mypublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ jobs:
dotnet-version: 8.0.x


- name: create the release win
if: ${{ matrix.target }}" == "win-x64"
run: |
echo "set mytag=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: create the release tag
if: ${{ matrix.target }}" <> "win-x64"
run: |
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
echo "mytag=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Build
shell: bash
Expand Down

0 comments on commit da41cc0

Please sign in to comment.