Skip to content

against server 83cc80a - trying to get this to build on github (2) #361

against server 83cc80a - trying to get this to build on github (2)

against server 83cc80a - trying to get this to build on github (2) #361

Workflow file for this run

name: Build Pull Request
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
env:
BUILD_EVENT: ${{ github.event_name }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GODEBUG: x509sha1=1
steps:
- name: Setup JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'

Check failure on line 24 in .github/workflows/build-pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-pr.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
- name: Install Nats Server
run: |
# curl -sf https://binaries.nats.dev/nats-io/nats-server/v2?version=83cc80a | PREFIX=. sh
curl -sf https://binaries.nats.dev/binary/github.com/nats-io/nats-server/v2?os=linux&arch=amd64&version=83cc80a | PREFIX=. sh
sudo mv nats-server /usr/local/bin
nats-server -v
- name: Check out code
uses: actions/checkout@v3
- name: Build and Test
run: chmod +x gradlew && ./gradlew clean test jacocoTestReport coveralls
- name: Verify Javadoc
run: ./gradlew javadoc