mirror of https://github.com/sbt/sbt.git
Merge pull request #357 from alexarchambault/develop
Update GitHub actions
This commit is contained in:
commit
15c1480d22
|
|
@ -0,0 +1,6 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
|
|
@ -27,12 +27,11 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
- uses: coursier/cache-action@v5
|
||||
- uses: coursier/cache-action@v6.3
|
||||
- uses: coursier/setup-action@v1
|
||||
with:
|
||||
extraKey: ${{ matrix.PLUGIN }}-${{ matrix.TEST_GROUP }}
|
||||
- uses: olafurpg/setup-scala@v10
|
||||
with:
|
||||
java-version: adopt@1.8.0-232
|
||||
jvm: 8
|
||||
apps: sbt-launcher
|
||||
- run: scripts/ci.sh
|
||||
shell: bash
|
||||
env:
|
||||
|
|
@ -48,11 +47,14 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
- uses: coursier/cache-action@v5
|
||||
- uses: olafurpg/setup-scala@v10
|
||||
- uses: coursier/cache-action@v6.3
|
||||
- uses: coursier/setup-action@v1
|
||||
with:
|
||||
jvm: 8
|
||||
apps: sbt-launcher
|
||||
- uses: olafurpg/setup-gpg@v3
|
||||
- name: Release
|
||||
run: ./sbt ci-release
|
||||
run: sbt ci-release
|
||||
env:
|
||||
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
|
||||
PGP_SECRET: ${{ secrets.PGP_SECRET }}
|
||||
|
|
|
|||
|
|
@ -1,17 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euvx
|
||||
|
||||
./scripts/cs-setup.sh
|
||||
mkdir -p bin
|
||||
./cs bootstrap -o bin/sbt sbt-launcher io.get-coursier:coursier_2.12:2.0.0-RC6-25
|
||||
rm -f cs cs.exe
|
||||
|
||||
if [ "$(expr substr $(uname -s) 1 5 2>/dev/null)" == "Linux" ]; then
|
||||
SBT="./bin/sbt -C--plugin-version=2.0.0-RC6-8"
|
||||
SBT="sbt -C--plugin-version=2.0.0-RC6-8"
|
||||
elif [ "$(uname)" == "Darwin" ]; then
|
||||
SBT="./bin/sbt -C--plugin-version=2.0.0-RC6-8"
|
||||
SBT="sbt -C--plugin-version=2.0.0-RC6-8"
|
||||
else
|
||||
SBT="./bin/sbt.bat -C--plugin-version=2.0.0-RC6-8"
|
||||
SBT="sbt.bat -C--plugin-version=2.0.0-RC6-8"
|
||||
fi
|
||||
|
||||
lmCoursier() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue