Skip to content

Update template-main.yml #3

Update template-main.yml

Update template-main.yml #3

Workflow file for this run

name: Release
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
GH_TOKEN: ${{ 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 }}

Check failure on line 10 in .github/workflows/template-main.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/template-main.yml (Line: 10, Col: 13): Unrecognized named-value: 'ghp_**github-token-removed**'. Located at position 1 within expression: ghp_**github-token-removed**
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
cache: maven
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
- name: Build with Maven
run: mvn -B package -DskipTests --file SpringBoot/Konex/pom.xml
- name: setup semantic-release
run: npm install -g semantic-release @semantic-release/git @semantic-release/changelog -D
- name: release
run: npx semantic-release