We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e46d1d6 commit ef3913aCopy full SHA for ef3913a
.github/workflows/release.yml
@@ -28,8 +28,11 @@ jobs:
28
- name: Install Cosmocc 4.0.2
29
run: |
30
curl -fL "https://cosmo.zip/pub/cosmocc/cosmocc-4.0.2.zip" -o cosmocc.zip
31
- unzip -q cosmocc.zip
32
- COSMO_DIR="$(find "$PWD" -maxdepth 1 -type d -name 'cosmocc-*' | head -n 1)"
+ COSMO_ROOT="$RUNNER_TEMP/cosmocc"
+ rm -rf "$COSMO_ROOT"
33
+ mkdir -p "$COSMO_ROOT"
34
+ unzip -q -o cosmocc.zip -d "$COSMO_ROOT"
35
+ COSMO_DIR="$(find "$COSMO_ROOT" -maxdepth 1 -type d -name 'cosmocc-*' | head -n 1)"
36
test -n "$COSMO_DIR"
37
echo "$COSMO_DIR/bin" >> "$GITHUB_PATH"
38
"$COSMO_DIR/bin/cosmocc" --version
0 commit comments