From a42b11dce5aec5a8ad285f7018a58d62a4a06171 Mon Sep 17 00:00:00 2001 From: KornineQ <84327578+KornineQ@users.noreply.github.com> Date: Wed, 2 Oct 2024 16:34:44 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7bc71a5..7adcf5a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -81,11 +81,11 @@ jobs: echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV ls out/make if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then - gh release create $TAG_NAME out/make/**/*.AppImage out/make/**/*.zip --title "Release $TAG_NAME" --notes "Automated release created by GitHub Actions." + gh release create $TAG_NAME out/make/*.AppImage out/make/*.zip --title "Release $TAG_NAME" --notes "Automated release created by GitHub Actions." elif [[ "${{ matrix.os }}" == "windows-latest" ]]; then - gh release create $TAG_NAME out/make/**/*.exe --title "Release $TAG_NAME" --notes "Automated release created by GitHub Actions." + gh release create $TAG_NAME out/make/*.exe --title "Release $TAG_NAME" --notes "Automated release created by GitHub Actions." elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then - gh release create $TAG_NAME out/make/**/*.dmg --title "Release $TAG_NAME" --notes "Automated release created by GitHub Actions." + gh release create $TAG_NAME out/make/*.dmg --title "Release $TAG_NAME" --notes "Automated release created by GitHub Actions." fi env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Ensure you have this secret set up @@ -96,4 +96,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: NCPPatcher-Release-${{ env.TAG_NAME }} - path: out/make/**/* + path: out/make/*