Skip to content

Commit

Permalink
fix coursier channel file (Fixes #178)
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindberg committed Jul 29, 2022
1 parent c869e07 commit d378acf
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 32 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down
30 changes: 0 additions & 30 deletions channel/bleep.json

This file was deleted.

31 changes: 31 additions & 0 deletions coursier-channel.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
]
}
}

0 comments on commit d378acf

Please sign in to comment.