diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 003c8bd..c3e2ed7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -344,10 +344,10 @@ 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}} @@ -355,7 +355,7 @@ jobs: - id: build name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: push: true context: .