Skip to content

Commit

Permalink
fix: ci setup step
Browse files Browse the repository at this point in the history
  • Loading branch information
robot9706 committed Oct 11, 2023
1 parent 3f3ccf1 commit b9b0aa7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ jobs:
permissions:
contents: read
outputs:
tag: ${{ steps.find-version.outputs.version }}
tag: ${{ steps.version.outputs.version }}
defaults:
run:
working-directory: ${{ env.SETUP_WORKING_DIRECTORY }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Find version
id: find-version
run: echo "version=`cat web/backend/package.json | jq -r '.version'`"
id: version
run: echo "version=`cat web/backend/package.json | jq -r '.version'`" >> "$GITHUB_OUTPUT"
service-build:
runs-on: ubuntu-22.04
needs: [setup]
needs: setup
permissions:
packages: write
contents: read
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
docker image push ${GITHUB_REGISTRY}/${SERVICE_IMAGE_NAME}:${{ needs.setup.outputs.tag }}
agent-build:
runs-on: ubuntu-22.04
needs: [setup]
needs: setup
permissions:
packages: write
contents: read
Expand Down

0 comments on commit b9b0aa7

Please sign in to comment.