Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
* Node 16
* set-output -> $GITHUB_OUTPUT
  • Loading branch information
pg9182 committed Feb 10, 2023
1 parent 59de24a commit c14bdc6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ jobs:
if (!artifact[0].workflow_run?.head_sha)
throw new Error(`Specified build doesn't have the head SHA attached`)
console.log(`::set-output name=sha::` + artifact[0].workflow_run.head_sha)
console.log(`::set-output name=branch::` + (artifact[0].workflow_run.head_branch || ``))
core.setOutput(`sha`, artifact[0].workflow_run.head_sha)
core.setOutput(`branch`, (artifact[0].workflow_run.head_branch || ``))
console.log(artifact[0])
await core.summary
Expand Down Expand Up @@ -344,18 +344,18 @@ jobs:
test -d NorthstarNavs/navmesh
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{github.token}}

- id: build
name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
push: true
context: .
Expand Down

0 comments on commit c14bdc6

Please sign in to comment.