forked from FluidTYPO3/flux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c944b5
commit f4c755f
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
on: | ||
push: | ||
tags: | ||
- "**" | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.2 | ||
extensions: mbstring, json | ||
ini-values: date.timezone="Europe/Copenhagen", opcache.fast_shutdown=0 | ||
tools: composer:v2.2 | ||
- name: "create working directory" | ||
run: "mkdir tailor" | ||
- name: "Install Tailor" | ||
working-directory: tailor | ||
run: "composer require typo3/tailor" | ||
- name: "Upload to TER" | ||
working-directory: tailor | ||
run: "./vendor/bin/tailor ter:publish $TAG $EXTENSION_KEY --artefact $ARTEFECT_URL --comment \"$MESSAGE\"" | ||
env: | ||
TYPO3_API_USERNAME: ${{ secrets.TER_USERNAME }} | ||
TYPO3_API_TOKEN: ${{ secrets.TER_TOKEN }} | ||
TAG: ${{ github.ref_name }} | ||
EXTENSION_KEY: flux | ||
ARTEFECT_URL: "https://github.com/${{ github.repository }}/archive/${{ github.ref }}.zip" | ||
MESSAGE: "Automatic release built from GitHub. See the CHANGELOG.md file that is shipped with this release for details." |