diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 4613569..a3ab94f 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -10,13 +10,12 @@ on: [pull_request_target] jobs: label: - runs-on: ubuntu-latest permissions: contents: read pull-requests: write steps: - - uses: actions/labeler@v4 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" + - uses: actions/labeler@v4 + with: + repo-token: '${{ secrets.GITHUB_TOKEN }}' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 740e595..f71b881 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -73,10 +73,11 @@ jobs: - name: Verify Build Output shell: bash run: | - if [ ! -f "dist/*.exe" ]; then - echo "Build output not found!" + if [[ -z $(find dist -type f -name "*.exe") ]]; then + echo "Build output not found! Skipping release." exit 1 fi + echo "Build output found!" - name: Create Release uses: softprops/action-gh-release@v2