Skip to content

Commit a6e0d8d

Browse files
committed
wf
1 parent d1287fb commit a6e0d8d

File tree

1 file changed

+28
-24
lines changed

1 file changed

+28
-24
lines changed

.github/workflows/release.yml

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,37 @@
11
name: 🚀 Release
22

33
on:
4-
push:
5-
tags:
6-
- "v*.*.*"
4+
push:
5+
tags:
6+
- 'v*.*.*'
7+
permissions:
8+
contents: write
9+
actions: read
10+
checks: read
711

812
jobs:
9-
build-and-release:
10-
runs-on: ubuntu-latest
13+
build-and-release:
14+
runs-on: ubuntu-latest
1115

12-
steps:
13-
- name: 🧱 Checkout
14-
uses: actions/checkout@v4
16+
steps:
17+
- name: 🧱 Checkout
18+
uses: actions/checkout@v4
1519

16-
- name: 🧰 Setup PHP
17-
uses: shivammathur/setup-php@v2
18-
with:
19-
php-version: "8.2"
20-
tools: composer
21-
coverage: none
20+
- name: 🧰 Setup PHP
21+
uses: shivammathur/setup-php@v2
22+
with:
23+
php-version: '8.2'
24+
tools: composer
25+
coverage: none
2226

23-
- name: 🧩 Prepare release package
24-
run: |
25-
mkdir -p build
26-
zip -r build/mu-cc-admin-popover-row-actions.zip mu-plugins LICENSE README.md phpcs.xml.dist
27+
- name: 🧩 Prepare release package
28+
run: |
29+
mkdir -p build
30+
zip -r build/mu-cc-admin-popover-row-actions.zip mu-plugins LICENSE README.md phpcs.xml.dist
2731
28-
- name: 🪄 Create GitHub release
29-
uses: softprops/action-gh-release@v2
30-
with:
31-
files: build/mu-cc-admin-popover-row-actions.zip
32-
env:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
- name: 🪄 Create GitHub release
33+
uses: softprops/action-gh-release@v2
34+
with:
35+
files: build/mu-cc-admin-popover-row-actions.zip
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)