File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ jobs:
3333 - name : Set base and head commits
3434 run : |
3535 if [ "${{github.event_name}}" == "push" ]; then
36- export NX_BASE=origin/main~1
37- export NX_HEAD=origin/main
36+ echo " NX_BASE=origin/main~1" >> "$GITHUB_ENV"
37+ echo " NX_HEAD=origin/main" >> "$GITHUB_ENV"
3838 else
39- export NX_BASE=origin/main
40- export NX_HEAD=HEAD
39+ echo " NX_BASE=origin/main" >> "$GITHUB_ENV"
40+ echo " NX_HEAD=HEAD" >> "$GITHUB_ENV"
4141 fi
4242 - name : Compile (Delta)
4343 run : npm run compile:ci:affected
@@ -205,11 +205,11 @@ jobs:
205205 - name : Set base and head commits
206206 run : |
207207 if [ "${{github.event_name}}" == "push" ]; then
208- export NX_BASE=origin/main~1
209- export NX_HEAD=origin/main
208+ echo " NX_BASE=origin/main~1" >> "$GITHUB_ENV"
209+ echo " NX_HEAD=origin/main" >> "$GITHUB_ENV"
210210 else
211- export NX_BASE=origin/main
212- export NX_HEAD=HEAD
211+ echo " NX_BASE=origin/main" >> "$GITHUB_ENV"
212+ echo " NX_HEAD=HEAD" >> "$GITHUB_ENV"
213213 fi
214214 - name : Compile (Delta)
215215 run : npm run compile:ci:affected
You can’t perform that action at this time.
0 commit comments