File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,17 @@ jobs:
1212 - name : Set Tag Name
1313 # trim prefix from ref to get tag name
1414 run : echo "TAG_NAME=${GITHUB_REF#'refs/tags/'}" >> $GITHUB_ENV
15- - name : Version-stamp Header file
16- run : |
17- echo "// Unmoving $TAG_NAME downloaded from Github at https://github.com/saxbophone/unmoving/releases" > header_stub.hpp
18- cat header_stub.hpp unmoving/include/unmoving/PSXFixed.hpp > PSXFixed.hpp
1915 - name : Get release
2016 id : get_release
2117 uses :
bruceadams/[email protected] 2218 env :
2319 GITHUB_TOKEN : ${{ github.token }}
20+ - name : Version-stamp Header file
21+ env :
22+ RELEASE_URL : ${{ steps.get_release.outputs.html_url }}
23+ run : |
24+ echo "// Unmoving $TAG_NAME downloaded from Github at $RELEASE_URL" > header_stub.hpp
25+ cat header_stub.hpp unmoving/include/unmoving/PSXFixed.hpp > PSXFixed.hpp
2426 - name : Upload Header file
25272628 env :
Original file line number Diff line number Diff line change 99 set (UNMOVING_SUBPROJECT ON )
1010endif ()
1111
12- project (Unmoving VERSION 0.0.1 LANGUAGES CXX)
12+ project (Unmoving VERSION 0.0.2 LANGUAGES CXX)
1313
1414find_program (CCACHE_PROGRAM ccache)
1515if (CCACHE_PROGRAM)
You can’t perform that action at this time.
0 commit comments