Update version to 11.3.2 #15
Workflow file for this run
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
name: Deploy to TER | |
on: | |
push: | |
tags: | |
- "**" | |
jobs: | |
TER: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- id: composer-cache | |
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | |
- uses: actions/cache@v4 | |
with: | |
path: ${{ steps.composer-cache.outputs.dir }} | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: | | |
${{ runner.os }}-composer- | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
coverage: none | |
- name: "Determine tag" | |
id: "determine-tag" | |
run: "echo \"name=tag=${GITHUB_REF#refs/tags/}\" >> $GITHUB_OUTPUT" | |
- name: Install TYPO3 Tailor Extension | |
run: composer global require typo3/tailor --prefer-dist --no-progress --no-suggest | |
- name: Deploy to TER | |
env: | |
TYPO3_API_USERNAME: ${{secrets.TYPO3_ORG_USERNAME}} | |
TYPO3_API_PASSWORD: ${{secrets.TYPO3_ORG_PASSWORD}} | |
run: | | |
echo -e "Preparing upload of release ${{ steps.determine-tag.outputs.tag }} to TER\n"; | |
# Install Tylor client | |
composer global require typo3/tailor | |
# Build extension files | |
composer extension-release | |
# Upload | |
TAG_MESSAGE=`git log -1 --pretty=%B` | |
echo "Tag-Message: ${TAG_MESSAGE}" | |
echo "Uploading release ${{ steps.determine-tag.outputs.tag }} to TER" | |
$HOME/.composer/./vendor/bin/tailor ter:publish ${{ steps.determine-tag.outputs.tag }} --comment "$TAG_MESSAGE" |