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