summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/evalenv/push.yml
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/runner/testdata/evalenv/push.yml')
-rw-r--r--pkg/runner/testdata/evalenv/push.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkg/runner/testdata/evalenv/push.yml b/pkg/runner/testdata/evalenv/push.yml
new file mode 100644
index 0000000..3d2c97c
--- /dev/null
+++ b/pkg/runner/testdata/evalenv/push.yml
@@ -0,0 +1,21 @@
+name: CI
+
+on: push
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ env:
+ BUILD_DIR: ${{ github.workspace }}/build
+ steps:
+ - name: Dump
+ run: |
+ echo "$BUILD_DIR"
+ echo "$EXPECTED_BUILD_DIR"
+ echo "$GITHUB_WORKSPACE/build"
+ env:
+ EXPECTED_BUILD_DIR: ${{ github.workspace }}/build
+ - name: Test
+ run: |
+ [ "$BUILD_DIR" = "$EXPECTED_BUILD_DIR" ] && [ "$BUILD_DIR" = "$GITHUB_WORKSPACE/build" ]
+ env:
+ EXPECTED_BUILD_DIR: ${{ github.workspace }}/build