-
-
Notifications
You must be signed in to change notification settings - Fork 19
34 lines (28 loc) · 844 Bytes
/
release.yml
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: Build PHAR for release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: little-core-labs/[email protected]
id: tagName
- name: Install dependencies
run: composer install --no-dev --prefer-dist --no-progress --no-suggest
- name: Build PHAR
run: composer run-script package ${{ steps.tagName.outputs.tag }}
env:
signing_key: ${{ secrets.pharSigningKey }}
signing_key_fingerprint: ${{ secrets.PHAR_SIGNING_KEY_FINGERPRINT }}
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
typoscript-lint-*.phar
typoscript-lint-*.phar.asc
env:
GITHUB_TOKEN: ${{ github.token }}