Skip to content

Commit bd57513

Browse files
committed
update github runner enclave
1 parent 56fa3da commit bd57513

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/espresso-enclave.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

1414
jobs:
1515
enclave-tests-on-ec2:
16-
runs-on: ubuntu-24.04-8core
16+
runs-on: ubuntu-latest
1717
timeout-minutes: 40
1818

1919
steps:
@@ -68,6 +68,18 @@ jobs:
6868
--port 22 \
6969
--cidr 0.0.0.0/0 || true
7070
71+
- name: Load environment variables
72+
run: |
73+
while IFS= read -r line; do
74+
# Skip comments and empty lines
75+
if [[ ! "$line" =~ ^#.* ]] && [[ -n "$line" ]]; then
76+
# Remove quotes from values
77+
line=$(echo "$line" | sed 's/"\(.*\)"/\1/')
78+
echo "$line" >> $GITHUB_ENV
79+
fi
80+
done < ./espresso/.env
81+
shell: bash
82+
7183
- name: Launch EC2 Instance
7284
id: ec2
7385
run: |

0 commit comments

Comments
 (0)