Skip to content

Commit

Permalink
Try to make windows happy
Browse files Browse the repository at this point in the history
  • Loading branch information
PyryM authored Apr 8, 2021
1 parent 514a435 commit 502126c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
if: matrix.os == 'windows-latest'
uses: ilammy/msvc-dev-cmd@v1
- uses: actions/checkout@v2
- name: Tag Version
id: set_tag
run: |
export VER=$(grep TRUSS_VERSION_STRING src/trussapi.h | cut -d'"' -f 2)
echo "::set-output name=tag_name::${VER}"
shell: bash
- name: Run CMake
run: |
mkdir build
Expand Down Expand Up @@ -64,11 +70,6 @@ jobs:
cd dist
7z a truss.zip bin lib include scripts shaders textures font models
7z a "../truss_${{ matrix.os }}.zip" truss.exe truss.zip
- name: Tag Version
id: set_tag
run: |
export VER=$(grep TRUSS_VERSION_STRING src/trussapi.h | cut -d'"' -f 2)
echo "::set-output name=tag_name::${VER}"
- name: Publish Release
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 502126c

Please sign in to comment.