From 26f5bbaae9fc2175f76593561a641064611d344a Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 1 Dec 2023 13:53:49 -0500 Subject: [PATCH] wip --- .github/workflows/ci.cli.yml | 8 +++----- fixtures/projects/unavailable.com/package.yml | 3 +++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.cli.yml b/.github/workflows/ci.cli.yml index d9c48df4..64f69c2a 100644 --- a/.github/workflows/ci.cli.yml +++ b/.github/workflows/ci.cli.yml @@ -84,8 +84,6 @@ jobs: - uses: pkgxdev/setup@v2 - run: pkgx --sync # FIXME PKGX_PANTRY_PATH causes auto sync to fail - run: | - if bin/build unavailable.com; then - exit 1 - elif [ "$?" -neq 2 ]; then - exit 1 - fi + set +e + bin/build unavailable.com + test $? -eq 2 diff --git a/fixtures/projects/unavailable.com/package.yml b/fixtures/projects/unavailable.com/package.yml index 8b5a7980..c72b2625 100644 --- a/fixtures/projects/unavailable.com/package.yml +++ b/fixtures/projects/unavailable.com/package.yml @@ -1,2 +1,5 @@ platforms: - darwin + +versions: + - 1.0.0 \ No newline at end of file