mirror of
https://github.com/DeLaGuardo/setup-clojure.git
synced 2024-12-27 00:16:21 +08:00
Bump version and cleanup
This commit is contained in:
parent
8832931b7c
commit
1b6b2d9e27
21
.github/workflows/lein_test.yml
vendored
21
.github/workflows/lein_test.yml
vendored
@ -1,21 +0,0 @@
|
||||
name: Test OS leiningen
|
||||
on: [push]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@main
|
||||
- name: Prepare java
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: '8'
|
||||
- run: env
|
||||
- name: Install leiningen
|
||||
uses: ./
|
||||
with:
|
||||
lein: 2.10.0
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: env
|
||||
- run: DEBUG=true lein -v
|
7
.github/workflows/smoke-tests.yml
vendored
7
.github/workflows/smoke-tests.yml
vendored
@ -128,11 +128,6 @@ jobs:
|
||||
run: |
|
||||
lein version
|
||||
|
||||
- name: lein pwsh
|
||||
shell: pwsh
|
||||
run: |
|
||||
lein version
|
||||
|
||||
- name: lein cmd
|
||||
shell: cmd
|
||||
run: |
|
||||
@ -312,7 +307,7 @@ jobs:
|
||||
uses: ./
|
||||
with:
|
||||
cli: 1.11.1.1149
|
||||
lein: 2.9.1
|
||||
lein: 2.11.0
|
||||
boot: 2.8.3
|
||||
bb: 0.8.157
|
||||
clj-kondo: 2022.06.22
|
||||
|
6
dist/index.js
vendored
6
dist/index.js
vendored
@ -1180,13 +1180,9 @@ function installLeiningen(binScripts, destinationFolder) {
|
||||
? 'powershell .\\lein.ps1 self-install'
|
||||
: './lein version';
|
||||
const toolDir = path.join(destinationFolder, 'leiningen');
|
||||
const leiningenJarPath = yield leiningenJar(toolDir);
|
||||
const env = {
|
||||
LEIN_HOME: toolDir
|
||||
};
|
||||
if (leiningenJarPath !== null) {
|
||||
env['LEIN_JAR'] = leiningenJarPath;
|
||||
}
|
||||
if (process.env['PATH']) {
|
||||
env['PATH'] = process.env['PATH'];
|
||||
}
|
||||
@ -1331,7 +1327,7 @@ exports.isMacOS = isMacOS;
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.VERSION = void 0;
|
||||
exports.VERSION = '12-3';
|
||||
exports.VERSION = '12-4';
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@ -103,16 +103,11 @@ async function installLeiningen(
|
||||
: './lein version'
|
||||
|
||||
const toolDir = path.join(destinationFolder, 'leiningen')
|
||||
const leiningenJarPath = await leiningenJar(toolDir)
|
||||
|
||||
const env: {[key: string]: string} = {
|
||||
LEIN_HOME: toolDir
|
||||
}
|
||||
|
||||
if (leiningenJarPath !== null) {
|
||||
env['LEIN_JAR'] = leiningenJarPath
|
||||
}
|
||||
|
||||
if (process.env['PATH']) {
|
||||
env['PATH'] = process.env['PATH']
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const VERSION = '12-3'
|
||||
export const VERSION = '12-4'
|
||||
|
Loading…
x
Reference in New Issue
Block a user