From ee9068ff925a1a94f3a8b45315e88335414c4605 Mon Sep 17 00:00:00 2001 From: Timi007 Date: Fri, 25 Feb 2022 18:22:59 +0100 Subject: [PATCH] Fix release workflow sqfc linking path --- .github/workflows/release.yml | 7 +++---- hemtt.toml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 290c20b..f1b11a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: echo "::group::Set Binarize registry path" New-Item "HKCU:\\Software\\Bohemia Interactive\\binarize" -Force | New-ItemProperty -Name path -Value "${{ github.workspace }}\ci\binarize" echo "::endgroup::" - echo "::group::Set env variables" + echo "Set env variables" echo "NAME=$(.\\ci\\hemtt.exe var name)" >> $env:GITHUB_ENV echo "MOD_NAME=$(.\\ci\\hemtt.exe var modname)" >> $env:GITHUB_ENV echo "MOD_NAME_LOWER=$((.\\ci\\hemtt.exe var modname).toLower())" >> $env:GITHUB_ENV @@ -44,13 +44,12 @@ jobs: echo "VERSION=$(.\\ci\\hemtt.exe var version)" >> $env:GITHUB_ENV echo "VERSION_SHORT=$(($(.\\ci\\hemtt.exe var version) | Select-String -Pattern '^\d+\.\d+\.\d+').Matches.Value)" >> $env:GITHUB_ENV echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $env:GITHUB_ENV - echo "::endgroup::" - name: Setup P-Drive for ArmaScriptCompiler run: | - echo "Creating P: and linking ${{ env.MAIN_PREFIX }}\${{ env.MOD_NAME_LOWER }}\addons" + echo "Creating P: and linking ${{ env.MAIN_PREFIX }}\mts_enhanced\addons" subst p: include - New-Item -ItemType Junction -Path "p:${{ env.MAIN_PREFIX }}\${{ env.MOD_NAME_LOWER }}\addons" -Target "addons" + New-Item -ItemType Junction -Path "p:${{ env.MAIN_PREFIX }}\mts_enhanced\addons" -Target "addons" - name: Test Binarize run: | diff --git a/hemtt.toml b/hemtt.toml index 86b6cc7..c7dedd6 100644 --- a/hemtt.toml +++ b/hemtt.toml @@ -22,7 +22,7 @@ releasebuild = [ ] [header_exts] -version= "{{git \"id 8\"}}" +version = "{{git \"id 8\"}}" # SQF Compilation [scripts.compile_sqf]