Skip to content

Commit

Permalink
fix: ci setup working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
robot9706 committed Oct 11, 2023
1 parent 51a5536 commit 99d6f60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ env:
GITHUB_REGISTRY: ghcr.io
SERVICE_IMAGE_NAME: dyrector-io/darklens
AGENT_IMAGE_NAME: dyrector-io/darklens/agent
SETUP_WORKING_DIRECTORY: .
SERVICE_WORKING_DIRECTORY: web
AGENT_WORKING_DIRECTORY: .
concurrency:
Expand All @@ -20,11 +21,11 @@ jobs:
tag: ${{ steps.find-version.outputs.version }}
defaults:
run:
working-directory: ${{ env.SERVICE_WORKING_DIRECTORY }}
working-directory: ${{ env.SETUP_WORKING_DIRECTORY }}
steps:
- name: Find version
id: find-version
run: echo "version=`cat ./backend/package.json | jq -r '.version'`"
run: echo "version=`cat web/backend/package.json | jq -r '.version'`"
service-build:
runs-on: ubuntu-22.04
needs: [setup]
Expand Down

0 comments on commit 99d6f60

Please sign in to comment.