Typo on release workflow #38
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: Releases | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
code-tests: | |
name: Run code tests | |
uses: ./.github/workflows/code-tests.yml | |
build: | |
needs: [ code-tests ] | |
runs-on: ubuntu-latest | |
env: | |
NO_COLOR: 1 | |
QIT_DISABLE_ONBOARDING: yes | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
tools: none | |
php-version: '7.2' | |
- name: Version Validation | |
run: | | |
if ./qit --version | grep -q "qit_dev_build"; then | |
echo "Development build detected. Exiting with failure." | |
exit 1 | |
else | |
echo "Valid build version. Proceeding." | |
fi | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "qit" | |
bodyFile: ./docs/changelogs/${{github.ref_name}}.md | |
generateReleaseNotes: true | |
- name: Basic Validation | |
run: ./qit |