From ed57a1e9adb6d9d8feacd816953a0991678d03d4 Mon Sep 17 00:00:00 2001 From: Mike Pirog Date: Tue, 17 Aug 2021 09:55:53 -0400 Subject: [PATCH] #25: Generate x64 releases and upload to GHA part 8 --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22b4b96..54af9c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,10 +55,11 @@ jobs: node ./scripts/dev-version.js node ./bin/hyperdrive version yarn pkg --config package.json --target=node${{ matrix.node-version }}-${{ matrix.platform }}-x64 bin/hyperdrive - ls -lsa "dist/@lando" - - name: Asses our situation - run: | - true + if test -f "dist/@lando/hyperdrive.exe"; then + mv dist/@lando/hyperdrive.exe dist/@lando/hyperdrive-${{ matrix.platform }}-x64.exe + else + mv dist/@lando/hyperdrive dist/@lando/hyperdrive-${{ matrix.platform }}-x64 + fi - name: Upload lando-build-${{ matrix.platform }}-${{ github.sha }} uses: actions/upload-artifact@v2 with: