diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2e70989db..46ee72445 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: run: scalafmt -c .scalafmt.conf --check - name: Install bleep stable - run: cs install --channel channel bleep --verbose + run: cs install --channel https://raw.githubusercontent.com/oyvindberg/bleep/fix-channel/coursier-channel.json bleep --verbose - name: Run tests env: @@ -69,7 +69,7 @@ jobs: extraFiles: bleep.yaml - name: Install bleep stable - run: cs install --channel channel bleep --verbose + run: cs install --channel https://raw.githubusercontent.com/oyvindberg/bleep/fix-channel/coursier-channel.json bleep --verbose - name: Build native image (non-windows) run: | diff --git a/channel/bleep.json b/channel/bleep.json deleted file mode 100644 index ed1afc0a7..000000000 --- a/channel/bleep.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "repositories": [ - "central" - ], - "dependencies": [ - "build.bleep:bleep-cli_2.13:latest.release" - ], - "mainClass": "bleep.Main", - "launcherType": "graalvm-native-image", - "prebuiltBinaries": { - "x86_64-pc-linux": "tgz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${platform}.tar.gz!bleep", - "x86_64-pc-win32": "zip+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${platform}.zip!bleep.exe", - "x86_64-apple-darwin": "tgz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${platform}.tar.gz!bleep", - "arm64-apple-darwin": "tgz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${platform}.tar.gz!bleep" - }, - "versionOverrides": [ - { - "dependencies": [ - "build.bleep:bleep-core_3:latest.release" - ], - "versionRange": "(0.0.1-M1,0.0.1-M7]", - "prebuiltBinaries": { - "x86_64-pc-linux": "gz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${version}-x86-64-pc-linux.gz", - "x86_64-pc-win32": "zip+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${version}-x86-64-pc-win32.zip", - "x86_64-apple-darwin": "gz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${version}-x86-64-apple-darwin.gz" - } - } - ] - -} diff --git a/coursier-channel.json b/coursier-channel.json new file mode 100644 index 000000000..a61b54a73 --- /dev/null +++ b/coursier-channel.json @@ -0,0 +1,31 @@ +{ + "bleep": { + "repositories": [ + "central" + ], + "dependencies": [ + "build.bleep:bleep-cli_2.13:latest.release" + ], + "mainClass": "bleep.Main", + "launcherType": "graalvm-native-image", + "prebuiltBinaries": { + "x86_64-pc-linux": "tgz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${platform}.tar.gz!bleep", + "x86_64-pc-win32": "zip+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${platform}.zip!bleep.exe", + "x86_64-apple-darwin": "tgz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${platform}.tar.gz!bleep", + "arm64-apple-darwin": "tgz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${platform}.tar.gz!bleep" + }, + "versionOverrides": [ + { + "dependencies": [ + "build.bleep:bleep-core_3:latest.release" + ], + "versionRange": "(0.0.1-M1,0.0.1-M7]", + "prebuiltBinaries": { + "x86_64-pc-linux": "gz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${version}-x86-64-pc-linux.gz", + "x86_64-pc-win32": "zip+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${version}-x86-64-pc-win32.zip", + "x86_64-apple-darwin": "gz+https://github.com/oyvindberg/bleep/releases/download/v${version}/bleep-${version}-x86-64-apple-darwin.gz" + } + } + ] + } +} \ No newline at end of file