From f366f5823118d2a0b850f7fd8c7274e0cea207ef Mon Sep 17 00:00:00 2001 From: Alvaro Munoz Date: Tue, 5 Jul 2022 22:20:19 -0400 Subject: [PATCH] new MSYS2 name --- .github/workflows/Build-win_x64.yml | 2 +- .github/workflows/build-msys2.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Build-win_x64.yml b/.github/workflows/Build-win_x64.yml index 0413192..6a3b51b 100644 --- a/.github/workflows/Build-win_x64.yml +++ b/.github/workflows/Build-win_x64.yml @@ -23,5 +23,5 @@ jobs: - name: Create Release uses: ncipollo/release-action@v1.10.0 with: - artifacts: "*.zip" + artifacts: "**/*.zip" body: "Automatic release built with Github actions." \ No newline at end of file diff --git a/.github/workflows/build-msys2.yml b/.github/workflows/build-msys2.yml index b079c1d..569d2e2 100644 --- a/.github/workflows/build-msys2.yml +++ b/.github/workflows/build-msys2.yml @@ -178,7 +178,7 @@ jobs: $CHIAKI_VERSION_MAJOR = (Select-String -Path .\CMakeLists.txt -Pattern 'set\(CHIAKI_VERSION_MAJOR ([0-9]+)\)') | %{$_.Matches.Groups[1].value} $CHIAKI_VERSION_MINOR = (Select-String -Path .\CMakeLists.txt -Pattern 'set\(CHIAKI_VERSION_MINOR ([0-9]+)\)') | %{$_.Matches.Groups[1].value} $CHIAKI_VERSION_PATCH = (Select-String -Path .\CMakeLists.txt -Pattern 'set\(CHIAKI_VERSION_PATCH ([0-9]+)\)') | %{$_.Matches.Groups[1].value} - $RELEASE_PACKAGE_FILE = "Chiaki-win_x64-$CHIAKI_VERSION_MAJOR.$CHIAKI_VERSION_MINOR.$CHIAKI_VERSION_PATCH.zip" + $RELEASE_PACKAGE_FILE = "Chiaki-win_x64-MSYS2-$CHIAKI_VERSION_MAJOR.$CHIAKI_VERSION_MINOR.$CHIAKI_VERSION_PATCH.zip" Compress-Archive Chiaki $RELEASE_PACKAGE_FILE $release_filepath = Get-ChildItem $RELEASE_PACKAGE_FILE | %{$_[0].FullName} echo "RELEASE_PACKAGE_PATH=$release_filepath" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append @@ -186,7 +186,7 @@ jobs: - name: Upload Artifact uses: actions/upload-artifact@v3 with: - name: Chiaki-win_x64-Release + name: Chiaki-win_x64-MSYS2-Release path: ${{ env.RELEASE_PACKAGE_PATH }} if-no-files-found: error retention-days: 1 \ No newline at end of file