Skip to content

Commit 9e9bf95

Browse files
authored
GitHub Actions: Fix workflows (#68)
1 parent e192149 commit 9e9bf95

File tree

2 files changed

+4
-20
lines changed

2 files changed

+4
-20
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070

7171
deb:
7272
needs: drafter
73-
runs-on: ubuntu-24.04
73+
runs-on: ubuntu-latest
7474
permissions:
7575
id-token: write
7676
attestations: write
@@ -104,10 +104,6 @@ jobs:
104104
run-id: ${{ inputs.run_id }}
105105
github-token: ${{ github.token }}
106106

107-
# TODO!
108-
- run: ls -la .
109-
- run: ls -laR dist
110-
111107
- run: mkdir -p deb
112108
- name: Create deb
113109
run: |
@@ -121,9 +117,6 @@ jobs:
121117
DIST_DIR: dist
122118
ARCHS: "arm64 amd64"
123119

124-
# TODO!
125-
- run: ls -laR deb
126-
127120
- uses: actions/attest-build-provenance@v3
128121
with:
129122
subject-path: deb/*.deb
@@ -162,10 +155,6 @@ jobs:
162155
run-id: ${{ inputs.run_id }}
163156
github-token: ${{ github.token }}
164157

165-
# TODO!
166-
- run: ls -la .
167-
- run: ls -laR dist
168-
169158
- name: Set BIN_DIRS environment variable
170159
run: |
171160
echo 'BIN_DIRS<<EOF' >> "$GITHUB_ENV"
@@ -184,17 +173,13 @@ jobs:
184173
run: |
185174
while read -u3 -r bin_dir; do
186175
echo "::group::==> ${bin_dir}"
187-
cp README.md LICENSE "bin/${bin_dir}/"
188-
chmod +x "bin/${bin_dir}/php-matrix" && \
189-
tar -C "bin/${bin_dir}" -cvf - php-matrix README.md LICENSE | \
176+
cp README.md LICENSE "dist/${bin_dir}/"
177+
chmod +x "dist/${bin_dir}/php-matrix" && \
178+
tar -C "dist/${bin_dir}" -cvf - php-matrix README.md LICENSE | \
190179
gzip --best - > "tarball/${bin_dir}.tar.gz"
191180
echo "::endgroup::"
192181
done 3< <(echo "${BIN_DIRS}")
193182
194-
# TODO!
195-
- run: ls -la .
196-
- run: ls -laR tarball
197-
198183
- name: Validate tarballs
199184
run: |
200185
while read -u3 -r bin_dir; do

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ jobs:
216216
if: github.event_name == 'push' && github.ref_type == 'tag'
217217
needs:
218218
- pest
219-
- build
220219
- e2e
221220
- merge
222221
permissions:

0 commit comments

Comments
 (0)