From 76cffc96104b5b9182363614ecc61c6a6af0fad9 Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Fri, 7 Jun 2024 11:11:12 +0100 Subject: [PATCH] fix(apbx): duplicate file name --- .github/workflows/apbx.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/apbx.yaml b/.github/workflows/apbx.yaml index 0e8b9368a5..d9599215a0 100644 --- a/.github/workflows/apbx.yaml +++ b/.github/workflows/apbx.yaml @@ -4,6 +4,7 @@ on: push: paths: - "src/**" + - ".github/workflows/apbx.yaml" env: SXSC_REPO: "https://github.com/Atlas-OS/sxsc" @@ -113,10 +114,10 @@ jobs: if: ${{ !startsWith(github.ref, 'refs/heads/na-') }} run: | echo "Making a renamed password protected (malte) ZIP of playbook files..." - $pbName = "Atlas Playbook $($env:GITHUB_SHA.Substring(0,8)).apbx" + $pbName = "Atlas Playbook $($env:GITHUB_SHA.Substring(0,8))" & ..\local-build.ps1 -ReplaceOldPlaybook -AddLiveLog -Removals Verification, WinverRequirement -FileName $pbName echo "Move the .abpx playbook into 'Release ZIP' to be released as an artifact with the additional files..." - Move-Item $pbName "../release-zip" + Move-Item "$pbName.apbx" "../release-zip" working-directory: src\playbook - name: Upload artifact