From 794e522c58f1894bfa3a2e6c91262b3d531c7f86 Mon Sep 17 00:00:00 2001 From: Bao Zhiyuan Date: Wed, 9 Oct 2024 09:59:33 +0800 Subject: [PATCH] fix pushd not found --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 9ad89412..fb573135 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -149,7 +149,7 @@ jobs: tar xf moonbit.tar.gz --directory ./tmp-bins/ cp -L ./target/release/moonrun ./tmp-bins/ cp -L ./target/release/moon ./tmp-bins/ - pushd tmp-bins && sha256sum -- * >../moonbit-linux-x86_64.sha256 && popd + cd tmp-bins && sha256sum -- * >../moonbit-linux-x86_64.sha256 && cd .. tar czf ./moonbit-linux-x86_64.tar.gz --directory=./tmp-bins . aws s3 cp ./moonbit-linux-x86_64.tar.gz s3://cli.moonbitlang.com/binaries/bleeding/moonbit-linux-x86_64.tar.gz aws s3 cp ./moonbit-linux-x86_64.sha256 s3://cli.moonbitlang.com/binaries/bleeding/moonbit-linux-x86_64.sha256