From c6b5096b18ec31aaf7841a0b4a6a7e0b766ac842 Mon Sep 17 00:00:00 2001 From: Ardian <34317628+arddluma@users.noreply.github.com> Date: Tue, 27 Feb 2024 15:44:40 +0100 Subject: [PATCH] Fix path --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07a8b8d..8e1f18a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: path: frontend - name: Get frontend package version id: get_frontend_version - run: cd frontend && ls -la && echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT + run: echo version=$(node -p "require('./frontend/package.json').version") >> $GITHUB_OUTPUT - name: Login to Docker Hub uses: docker/login-action@v3 with: @@ -49,7 +49,7 @@ jobs: path: admin_frontend - name: Get admin_frontend package version id: get_admin_frontend_version - run: cd admin_frontend && echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT + run: echo version=$(node -p "require('./admin_frontend/package.json').version") >> $GITHUB_OUTPUT - name: Login to Docker Hub uses: docker/login-action@v3 with: @@ -79,7 +79,7 @@ jobs: path: backend - name: Get backend package version id: get_backend_version - run: cd backend && echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT + run: echo version=$(node -p "require('./backend/package.json').version") >> $GITHUB_OUTPUT - name: Login to Docker Hub uses: docker/login-action@v3 with: