Skip to content

Commit

Permalink
NODE-2542 Updated GitHub workflow (#3809)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrtm000 authored Jan 30, 2023
1 parent 8cc002e commit 8f4389d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/check-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,18 @@ jobs:
check-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 1.8
distribution: 'zulu'
java-version: '8'
- name: Cache SBT
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.sbt
key: sbt-cache-${{ hashFiles('project/build.properties') }}
- name: Cache Coursier
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.cache/coursier
key: coursier-cache
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-node-sbt-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- id: extract-versions
run: |
echo "::set-output name=waves-version::$(cut -d\" -f2 version.sbt)"
echo "::set-output name=sbt-version::$(cut -d= -f2 project/build.properties)"
echo "{waves-version}={$(cut -d\" -f2 version.sbt)}" >> $GITHUB_OUTPUT
echo "{sbt-version}={$(cut -d= -f2 project/build.properties)}" >> $GITHUB_OUTPUT
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
Expand Down

0 comments on commit 8f4389d

Please sign in to comment.