Skip to content

Commit

Permalink
Merge remote-tracking branch 'coursier/main' into sync-upstream
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/release.yml
#	.github/workflows/update-dist.yml
#	dist/index.js
#	dist/index.js.map
#	package-lock.json
#	package.json
#	src/main.ts
  • Loading branch information
Gedochao committed Dec 8, 2022
2 parents 0788dc8 + ba59fe1 commit 4fb9d08
Show file tree
Hide file tree
Showing 4 changed files with 3,061 additions and 3,047 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -17,24 +17,31 @@ jobs:
jvm: ['11', 'temurin:17']
steps:
- uses: actions/checkout@v3
- run: |

- name: Build
shell: bash -l {0}
run: |
nvm use lts/gallium
npm install
- run: |
npm run all
# create an sbt file to enabling sbt caching
- run: echo 'name := "foo"' > build.sbt
- id: scala-cli-setup
uses: ./
with:
jvm: ${{ matrix.jvm }}
apps: sbt sbtn ammonite bloop:1.4.11

# - uses: coursier/cache-action@v5
- run: echo cs-version=${{ steps.scala-cli-setup.outputs.cs-version }}
- run: echo $PATH

# test Java
- run: echo $JAVA_HOME
- run: java -version
- run: cs java -version

# test installed apps
- run: sbtn.bat show name </dev/null
shell: bash
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/update-dist.yml
Expand Up @@ -11,8 +11,13 @@ jobs:
- uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.SCALA_CLI_SETUP_INTERNAL_KEY }}
- run: npm install
- run: npm run all
- name: Build
shell: bash -l {0}
run: |
nvm use lts/gallium
npm install
npm run all
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v4
Expand All @@ -21,6 +26,7 @@ jobs:
author: GitHub <noreply@github.com>
delete-branch: true
title: Update dist

- name: Check Pull Request
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
Expand Down

0 comments on commit 4fb9d08

Please sign in to comment.