Skip to content

Merge pull request #3 from nipsn/fix/ci-typos #2

Merge pull request #3 from nipsn/fix/ci-typos

Merge pull request #3 from nipsn/fix/ci-typos #2

Workflow file for this run

name: Release
on:
push:
branches: [ main ]
tags: ["*"]
jobs:
publish:
if: github.repository = 'jqscala/jqscala'

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

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 8, Col: 9): Unexpected symbol: '='. Located at position 19 within expression: github.repository = 'jqscala/jqscala'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: sbt
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}