Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
ci: test action without debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron Netzer committed Mar 6, 2022
1 parent 12d8f04 commit d19f34a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ jobs:
with:
targets: build
maxDistribution: 1
debug: true
# debug: true

e2e-execute:
name: E2E nx-distributed-task [${{ matrix.target }} (${{ matrix.distribution }})]
name: E2E nx-distributed-task
if: ${{ (github.event_name == 'pull_request' || github.event_name == 'pull_request_target') && contains(needs.setup.outputs.matrix, 'nx-distributed-task') }}
needs: [setup, execute]
runs-on: ubuntu-latest
Expand All @@ -101,7 +101,7 @@ jobs:
target: build
distribution: 1
projects: 'nx-affected-matrix'
debug: true
# debug: true

release:
name: Release version
Expand Down
4 changes: 0 additions & 4 deletions packages/nx-affected-matrix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,3 @@ runs:
console.log(JSON.stringify(process.env, null, 2));
setEnv(${{ toJSON(inputs) }}, process);
await main(context, core);
# env:
# GITHUB_WORKSPACE: ${{ github.workspace }}
# NX_BASE: ${{ env.NX_BASE }}
# NX_HEAD: ${{ env.NX_HEAD }}
4 changes: 0 additions & 4 deletions packages/nx-distributed-task/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ runs:
setEnv(${{ toJSON(inputs) }}, process);
await main(context, core, exec, glob, io, require);
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
- name: Post Execute target
if: ${{ !fromJSON(inputs.nxCloud) }}
Expand All @@ -66,5 +64,3 @@ runs:
setEnv(${{ toJSON(inputs) }}, process);
await main(context, core, exec, glob, io, require);
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
2 changes: 1 addition & 1 deletion packages/utils/src/lib/fs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class GHTree implements Tree {
}

resolve(path: string): string {
return resolve(this.root, path);
return resolve(this.root, path.startsWith('/') ? path.slice(1) : path);
}

getLockFilePath(): string | void {
Expand Down

0 comments on commit d19f34a

Please sign in to comment.