From 8ca233a994d9ce124b0282b530b996b503853888 Mon Sep 17 00:00:00 2001 From: Vladimir Borisov Date: Wed, 17 Apr 2024 12:36:46 +0300 Subject: [PATCH] Fix aws --- .github/workflows/build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b92333..98063ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,9 @@ name: Build Installer -on: push +on: + push: + tags: + - 'v*' jobs: build: @@ -31,9 +34,9 @@ jobs: - name: Upload to Amazon S3 run: | - aws s3 cp --acl public-read StremioSetup*.exe s3://stremio-artifacts/stremio-shell-ng/${{ github.ref_name }}/ + aws s3 cp --acl public-read ".\StremioSetup-v$((get-item .\StremioSetup*.exe).VersionInfo.ProductVersion.Trim()).exe" s3://stremio-artifacts/stremio-shell-ng/${{ github.ref_name }}/ - uses: actions/upload-artifact@v3 with: name: stremio-setup - path: StremioSetup*.exe + path: StremioSetup-v*.exe