From a6353f7554012f6d22328d16bc8c1e057eb460c1 Mon Sep 17 00:00:00 2001 From: RadWolfie Date: Thu, 12 Nov 2020 06:03:56 -0600 Subject: [PATCH] action: fix CI release job --- .github/workflows/CI.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8764145b0..16a262943 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -73,7 +73,8 @@ jobs: env: artifact_1: CxbxReloaded-Release-VS2019 artifact_2: CxbxReloaded-Release-VS2017 - runs-on: windows-latest + # Use the Ubuntu image to make releases quicker. + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Download artifacts (1) @@ -87,8 +88,8 @@ jobs: - name: Prepare artifacts for release run: | # download-artifact doesn't download a zip, so rezip it echo "short_commit_sha=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - 7z a -mx1 "$env:artifact_1.zip" ".\$env:artifact_1\*" - 7z a -mx1 "$env:artifact_2.zip" ".\$env:artifact_2\*" + 7z a -mx1 "${{ env.artifact_1 }}.zip" "./${{ env.artifact_1 }}/*" + 7z a -mx1 "${{ env.artifact_2 }}.zip" "./${{ env.artifact_2 }}/*" - name: Create Release id: create_release uses: actions/create-release@v1.1.1