From 88b5ef70fa5c857f4a29e3a911609c0ce5443856 Mon Sep 17 00:00:00 2001 From: TangRufus Date: Wed, 15 Oct 2025 21:34:17 +0100 Subject: [PATCH] GitHub Actions: Fix workflows --- .github/workflows/release.yml | 23 ++++------------------- .github/workflows/test.yml | 1 - 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6108d48..765341a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,7 +70,7 @@ jobs: deb: needs: drafter - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest permissions: id-token: write attestations: write @@ -104,10 +104,6 @@ jobs: run-id: ${{ inputs.run_id }} github-token: ${{ github.token }} - # TODO! - - run: ls -la . - - run: ls -laR dist - - run: mkdir -p deb - name: Create deb run: | @@ -121,9 +117,6 @@ jobs: DIST_DIR: dist ARCHS: "arm64 amd64" - # TODO! - - run: ls -laR deb - - uses: actions/attest-build-provenance@v3 with: subject-path: deb/*.deb @@ -162,10 +155,6 @@ jobs: run-id: ${{ inputs.run_id }} github-token: ${{ github.token }} - # TODO! - - run: ls -la . - - run: ls -laR dist - - name: Set BIN_DIRS environment variable run: | echo 'BIN_DIRS<> "$GITHUB_ENV" @@ -184,17 +173,13 @@ jobs: run: | while read -u3 -r bin_dir; do echo "::group::==> ${bin_dir}" - cp README.md LICENSE "bin/${bin_dir}/" - chmod +x "bin/${bin_dir}/php-matrix" && \ - tar -C "bin/${bin_dir}" -cvf - php-matrix README.md LICENSE | \ + cp README.md LICENSE "dist/${bin_dir}/" + chmod +x "dist/${bin_dir}/php-matrix" && \ + tar -C "dist/${bin_dir}" -cvf - php-matrix README.md LICENSE | \ gzip --best - > "tarball/${bin_dir}.tar.gz" echo "::endgroup::" done 3< <(echo "${BIN_DIRS}") - # TODO! - - run: ls -la . - - run: ls -laR tarball - - name: Validate tarballs run: | while read -u3 -r bin_dir; do diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5c5cf8..744b2d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -216,7 +216,6 @@ jobs: if: github.event_name == 'push' && github.ref_type == 'tag' needs: - pest - - build - e2e - merge permissions: