TER #9
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: TER | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up PHP Version | |
run: sudo update-alternatives --set php /usr/bin/php7.4 | |
- name: Install requirements | |
run: composer global require --dev typo3/tailor ^1.3 | |
- name: Cleanup before we upload | |
run: git reset --hard HEAD && git clean -fx | |
- name: Set version in ext_emconf.php | |
run: /home/runner/.composer/vendor/bin/tailor set-version --no-docs -- "$(git describe --tags --abbrev=0)" | |
- name: Publish to TER | |
run: TYPO3_API_USERNAME=${{ secrets.TYPO3_ORG_USERNAME }} TYPO3_API_PASSWORD=${{ secrets.TYPO3_ORG_PASSWORD }} /home/runner/.composer/vendor/bin/tailor ter:publish --comment "$(git tag -n10 -l $(git describe --abbrev=0 --tags) | sed 's/^[0-9.]*[ ]*//g')" "$(git describe --tags --abbrev=0)" "t3fetch" |