diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d72fb34c5..31936aa5b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -118,18 +118,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/checkout@v4 - with: - repository: jart/cosmopolitan - path: cosmopolitan - - working-directory: cosmopolitan - run: | - sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf - sudo chmod +x /usr/bin/ape - sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" - sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" - ./tool/cosmocc/package.sh - echo "$PWD/cosmocc/bin" >> "$GITHUB_PATH" + - uses: bjia56/setup-cosmocc@v0.0.3 - uses: actions/download-artifact@v4 with: name: bikeshed-linux_x86_64