From 3b2956c1793cd9dd3bf5277b93ae764ab833cede Mon Sep 17 00:00:00 2001 From: Abhishek M J Date: Wed, 17 Jul 2024 03:14:28 +0530 Subject: [PATCH] try fix release dir --- .github/workflows/build.yaml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 332ab78..1757d99 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,13 +2,8 @@ name: Build and Release on: push: - branches: - - release tags: - "v*" - pull_request: - branches: - - release jobs: build: @@ -47,7 +42,7 @@ jobs: - name: Upload Artifacts uses: actions/upload-artifact@v4 with: - name: ${{ runner.os }} Build + name: ytm2spt-${{ matrix.os }}-build path: | # match what's created for the 3 OSes build/*.exe build/*.bin @@ -65,10 +60,10 @@ jobs: - name: Compress Artifacts run: | - chmod +x *.bin *.exe *.app/Contents/MacOS/* - zip -9 ytm2spt-{{ github.ref_name }}-windows.zip *.exe - tar -cavf ytm2spt-{{ github.ref_name }}-linux.tar.gz *.bin - zip -r -9 ytm2spt-{{ github.ref_name }}-macos.zip *.app + chmod +x *build/*.bin *build/*.exe *build/*.app/Contents/MacOS/* + zip -9 ytm2spt-${{ github.ref_name }}-windows.zip *build/*.exe + tar -cavf ytm2spt-${{ github.ref_name }}-linux.tar.gz *build/*.bin + zip -r -9 ytm2spt-${{ github.ref_name }}-macos.zip *build/*.app - name: Release uses: softprops/action-gh-release@v2