generated from saxbophone/CPP20-Cross-Platform-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial build-release test successful.
Let's include the release's exact URL too
- Loading branch information
1 parent
3e89bac
commit 18b655a
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,15 +12,17 @@ jobs: | |
- name: Set Tag Name | ||
# trim prefix from ref to get tag name | ||
run: echo "TAG_NAME=${GITHUB_REF#'refs/tags/'}" >> $GITHUB_ENV | ||
- name: Version-stamp Header file | ||
run: | | ||
echo "// Unmoving $TAG_NAME downloaded from Github at https://github.com/saxbophone/unmoving/releases" > header_stub.hpp | ||
cat header_stub.hpp unmoving/include/unmoving/PSXFixed.hpp > PSXFixed.hpp | ||
- name: Get release | ||
id: get_release | ||
uses: bruceadams/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
- name: Version-stamp Header file | ||
env: | ||
RELEASE_URL: ${{ steps.get_release.outputs.html_url }} | ||
run: | | ||
echo "// Unmoving $TAG_NAME downloaded from Github at $RELEASE_URL" > header_stub.hpp | ||
cat header_stub.hpp unmoving/include/unmoving/PSXFixed.hpp > PSXFixed.hpp | ||
- name: Upload Header file | ||
uses: actions/[email protected] | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters