-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 801 Bytes
/
main.yml
File metadata and controls
34 lines (30 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Create Release
run-name: New release from tag ${{ github.ref_name }} by @${{ github.actor }}
on:
push:
tags:
- '[0-9]+\.[0-9]+\.[0-9]+'
jobs:
run_tests:
uses: WritePoetry/reusable-workflows/.github/workflows/php-tests.yml@v1
with:
php_versions: "['8.1','8.2','8.3']"
secrets: inherit
build:
needs: run_tests
uses: WritePoetry/reusable-workflows/.github/workflows/build.yml@main
with:
create_zip: true
permissions:
contents: write
packages: read
actions: read
secrets: inherit
create_release:
needs: build
uses: WritePoetry/reusable-workflows/.github/workflows/create-release.yml@main
permissions:
contents: write
packages: read
actions: read
secrets: inherit