Skip to content

Commit 925f3c6

Browse files
committed
ci: Debug ci
1 parent c2d0f7b commit 925f3c6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/bump-version.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ jobs:
1717
uses: ./.github/actions
1818
- name: Get git hash
1919
run: |
20-
echo "export COMMIT=$(echo ${$(git show-ref --tags --hash | tail -n 1)})"
20+
COMMIT=$(git show-ref --tags --hash | tail -n 1)
21+
echo "COMMIT=$(echo ${COMMIT})" >> $GITHUB_ENV
2122
- run: git show-ref --tags --hash | tail -n 1
23+
- run: echo $COMMIT
2224
- name: Test and build
23-
run: npx nx affected -t test build --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source' --base=${COMMIT} --head=origin/master
25+
run: npx nx affected -t test build --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source' --base=${$COMMIT} --head=origin/master
2426
- name: Upload test coverage badge
2527
run: npx nx affected -t upload-badge --parallel=3 --exclude='json-api-front,json-api-server,shared-utils,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source' --base=${COMMIT} --head=origin/master
2628
env:

0 commit comments

Comments
 (0)