Skip to content

Commit 30b2015

Browse files
committed
revert some
1 parent abe75a6 commit 30b2015

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/ci.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,12 @@ jobs:
8383
run: cargo build --manifest-path rewatch/Cargo.toml --target ${{matrix.rust-target}} --release
8484

8585
- name: Get artifact dir name
86-
id: artifact-dir
8786
run: node .github/workflows/get_artifact_dir_name.js
8887

8988
- name: "Upload artifact: rewatch binary"
9089
uses: actions/upload-artifact@v4
9190
with:
92-
name: rewatch-${{ steps.artifact-dir.outputs.dirname }}
91+
name: rewatch-${{env.artifact_dir_name}}
9392
path: rewatch/target/${{matrix.rust-target}}/release/rewatch${{ runner.os == 'Windows' && '.exe' || '' }}
9493

9594
# Build statically linked Linux binaries in an Alpine-based Docker container
@@ -384,7 +383,6 @@ jobs:
384383
- name: Build playground compiler
385384
if: matrix.os == 'ubuntu-latest'
386385
run: |
387-
opam install js_of_ocaml.5.8.1
388386
opam exec -- node packages/playground-bundling/scripts/generate_cmijs.js
389387
opam exec -- dune build --profile browser
390388
cp ./_build/default/jscomp/jsoo/jsoo_playground_main.bc.js playground/compiler.js

.github/workflows/get_artifact_dir_name.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ const { dirName: artifactDirName } = require("../../cli/bin_path.js");
55

66
// Pass artifactDirName to subsequent GitHub actions
77
fs.appendFileSync(
8-
process.env.GITHUB_OUTPUT,
9-
`dirname=${artifactDirName}${os.EOL}`
8+
process.env.GITHUB_ENV,
9+
`artifact_dir_name=${artifactDirName}${os.EOL}`
1010
);

0 commit comments

Comments
 (0)