Merge pull request #357 from alexarchambault/develop

Update GitHub actions
This commit is contained in:
Alexandre Archambault 2021-07-27 10:46:53 +02:00 committed by GitHub
commit 15c1480d22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 16 deletions

6
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

View File

@ -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 }}

View File

@ -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() {