mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 00:57:44 -04:00
Fix github release-pipeline so version tag is available for cmake (#3651)
Followup to https://discord.com/channels/756287461377703987/1280601431975661599 where the v0.2.16 release is showing git SHA in the speedrun verification text, instead of the version tag
This commit is contained in:
parent
a39af394fb
commit
d82bb3fde8
10
.github/workflows/linux-build-clang.yaml
vendored
10
.github/workflows/linux-build-clang.yaml
vendored
|
@ -21,9 +21,19 @@ jobs:
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# minimal checkout if we're NOT uploading artifacts
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
|
if: ${{ ! inputs.uploadArtifacts }}
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# full checkout with tags if we ARE uploading artifacts
|
||||||
|
- name: Checkout Repository with Tags
|
||||||
|
if: ${{ inputs.uploadArtifacts }}
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
fetch-tags: true
|
||||||
|
|
||||||
- name: Install Package Dependencies
|
- name: Install Package Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
|
10
.github/workflows/macos-build.yaml
vendored
10
.github/workflows/macos-build.yaml
vendored
|
@ -21,9 +21,19 @@ jobs:
|
||||||
timeout-minutes: 120
|
timeout-minutes: 120
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# minimal checkout if we're NOT uploading artifacts
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
|
if: ${{ ! inputs.uploadArtifacts }}
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# full checkout with tags if we ARE uploading artifacts
|
||||||
|
- name: Checkout Repository with Tags
|
||||||
|
if: ${{ inputs.uploadArtifacts }}
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
fetch-tags: true
|
||||||
|
|
||||||
- name: Install Package Dependencies
|
- name: Install Package Dependencies
|
||||||
run: brew install cmake nasm ninja
|
run: brew install cmake nasm ninja
|
||||||
|
|
||||||
|
|
6
.github/workflows/release-pipeline.yaml
vendored
6
.github/workflows/release-pipeline.yaml
vendored
|
@ -45,6 +45,8 @@ jobs:
|
||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
build_windows_clang:
|
build_windows_clang:
|
||||||
|
needs:
|
||||||
|
- cut_release
|
||||||
name: "🖥️ Windows"
|
name: "🖥️ Windows"
|
||||||
uses: ./.github/workflows/windows-build-clang.yaml
|
uses: ./.github/workflows/windows-build-clang.yaml
|
||||||
with:
|
with:
|
||||||
|
@ -55,6 +57,8 @@ jobs:
|
||||||
|
|
||||||
# Linux
|
# Linux
|
||||||
build_linux_clang:
|
build_linux_clang:
|
||||||
|
needs:
|
||||||
|
- cut_release
|
||||||
name: "🐧 Linux"
|
name: "🐧 Linux"
|
||||||
uses: ./.github/workflows/linux-build-clang.yaml
|
uses: ./.github/workflows/linux-build-clang.yaml
|
||||||
with:
|
with:
|
||||||
|
@ -65,6 +69,8 @@ jobs:
|
||||||
|
|
||||||
# macOS
|
# macOS
|
||||||
build_macos_intel:
|
build_macos_intel:
|
||||||
|
needs:
|
||||||
|
- cut_release
|
||||||
name: "🍎 MacOS"
|
name: "🍎 MacOS"
|
||||||
uses: ./.github/workflows/macos-build.yaml
|
uses: ./.github/workflows/macos-build.yaml
|
||||||
with:
|
with:
|
||||||
|
|
10
.github/workflows/windows-build-clang.yaml
vendored
10
.github/workflows/windows-build-clang.yaml
vendored
|
@ -22,9 +22,19 @@ jobs:
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# minimal checkout if we're NOT uploading artifacts
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
|
if: ${{ ! inputs.uploadArtifacts }}
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# full checkout with tags if we ARE uploading artifacts
|
||||||
|
- name: Checkout Repository with Tags
|
||||||
|
if: ${{ inputs.uploadArtifacts }}
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
fetch-tags: true
|
||||||
|
|
||||||
- name: Install NASM
|
- name: Install NASM
|
||||||
# TODO - Simplify this with just the first command once choco 2.0 rolls out everywhere
|
# TODO - Simplify this with just the first command once choco 2.0 rolls out everywhere
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue