mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-17 07:47:14 +03:00
CI: Set PROJ_DIR
inside the bash lib, not outside. (#11236)
* CI: Set `PROJ_DIR` inside the bash lib, not outside. We can't reference variables set outside. CHANGELOG_BEGIN CHANGELOG_END * CI: Remove an unnecessary `export`.
This commit is contained in:
parent
ce64cb2a13
commit
139b6f3b9e
@ -2,14 +2,14 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
parameters:
|
||||
var_name: ''
|
||||
var_name: ""
|
||||
|
||||
steps:
|
||||
- bash: |
|
||||
set -euo pipefail
|
||||
TMP=$(mktemp)
|
||||
PROJ_DIR="$(pwd)"
|
||||
cat > $TMP <<'END'
|
||||
cat > "$TMP" <<'END'
|
||||
PROJ_DIR="$PWD"
|
||||
escape_slack() {
|
||||
local r
|
||||
r="$1"
|
||||
|
Loading…
Reference in New Issue
Block a user