Skip to content

chore: add TODO

chore: add TODO #100

Workflow file for this run

name: 'Release'
on:
push:
branches:
- develop
- main
jobs:
release:
name: 'Publish new version'
uses: fingerprintjs/dx-team-toolkit/.github/workflows/release-server-sdk.yml@v1
with:
language: php
language-version: '7.3'
prepare-command: |
composer install -q --profile --ignore-platform-reqs --no-interaction --no-ansi --no-scripts --no-suggest --prefer-dist
secrets:
GH_RELEASE_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
name: Release

Check failure on line 21 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
on:
push:
branches:
- main
- develop
jobs:
release:
name: Release Version
runs-on: "ubuntu-latest"
environment: production
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '11'
- uses: shivammathur/setup-php@v2
with:
php-version: "7.3"
coverage: none
tools: composer:v2
- name: Install Composer Dependencies
run: composer install -q --profile --ignore-platform-reqs --no-interaction --no-ansi --no-scripts --no-suggest --prefer-dist
- name: Install Yarn dependencies
run: yarn install --cwd=release
- name: Release
run: ./release/node_modules/.bin/semantic-release --extends ./release/.releaserc.js
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
HUSKY: 0