Skip to content

Commit 02fd834

Browse files
committed
Update publish-to-redaxo.yml
1 parent 329670d commit 02fd834

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

.github/workflows/publish-to-redaxo.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
name: Publish to REDAXO.org
44
on:
5+
workflow_dispatch:
6+
inputs:
7+
version:
8+
description: REDAXO Addon-Version (z. B. 6.6.0)
9+
required: true
10+
type: string
11+
description:
12+
description: Release-Beschreibung (optional)
13+
required: false
14+
type: string
515
release:
616
types:
717
- published
@@ -10,18 +20,18 @@ jobs:
1020
redaxo_publish:
1121
runs-on: ubuntu-latest
1222
steps:
13-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v5
1424
- if: hashFiles('composer.json') != ''
1525
uses: shivammathur/setup-php@v2
1626
with:
17-
php-version: "8.2"
27+
php-version: "8.3"
1828
- if: hashFiles('composer.json') != ''
19-
uses: ramsey/composer-install@v2
29+
uses: ramsey/composer-install@v3
2030
with:
2131
composer-options: "--no-dev"
2232
- uses: FriendsOfREDAXO/installer-action@v1
2333
with:
2434
myredaxo-username: ${{ secrets.MYREDAXO_USERNAME }}
2535
myredaxo-api-key: ${{ secrets.MYREDAXO_API_KEY }}
26-
description: ${{ github.event.release.body }}
27-
version: ${{ github.event.release.tag_name }}
36+
description: ${{ github.event.inputs.description || github.event.release.body || '' }}
37+
version: ${{ github.event.inputs.version || github.event.release.tag_name }}

0 commit comments

Comments
 (0)