Skip to content

Commit ac4a82e

Browse files
committed
Move rust commit to a standalone file
Makes it easier for athena and other things to depend on it
1 parent 6026b84 commit ac4a82e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ jobs:
5454
ref: main
5555
path: athena
5656

57-
- name: Source config.sh and export RUST_COMMIT
57+
- name: Get Rust commit
5858
run: |
59-
source toolchain/config.sh
59+
RUST_COMMIT=$(cat toolchain/rust_commit.txt)
6060
echo "Using Rust commit: $RUST_COMMIT"
6161
echo "RUST_COMMIT=$RUST_COMMIT" >> $GITHUB_ENV
6262

config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
param1=${1:-}
44

5-
export RUST_COMMIT=051478957371ee0084a7c0913941d2a8c4757bb9
5+
export RUST_COMMIT=$(cat rust_commit.txt)
66

77
# If -rust_commit specified then only export the rust commit variable
88
if [ "$param1" == "-rust_commit" ]; then

rust_commit.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
051478957371ee0084a7c0913941d2a8c4757bb9

0 commit comments

Comments
 (0)