Raise tag to 1.0.17 #49
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the action will run. Triggers the workflow on tags | |
on: | |
push: | |
tags: | |
- '**' | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
tag-valid: | |
name: Check for valid tag | |
# Run only if it's a tag in general (as regex is not possible here) | |
if: startsWith(github.ref, 'refs/tags/') | |
runs-on: ubuntu-latest | |
# Save status for use in other jobs | |
outputs: | |
status: ${{ steps.check-tag.outputs.match }} | |
steps: | |
# Check for a valid tag | |
- name: Check if trigger is a valid tag | |
id: check-tag | |
run: | | |
if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\.[0-9]+\.[0-9]+$ ]]; then | |
echo ::set-output name=match::true | |
fi | |
ter-release: | |
name: TYPO3 TER release | |
# Depend on a valid tag | |
needs: tag-valid | |
if: needs.tag-valid.outputs.status == 'true' | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Publish to TER | |
uses: tomasnorre/typo3-upload-ter@v2 | |
with: | |
api-token: ${{ secrets.TYPO3_API_TOKEN }} |