Bump version and cleanup

This commit is contained in:
Kirill Chernyshov 2024-02-09 16:16:10 +01:00
parent 8832931b7c
commit 1b6b2d9e27
No known key found for this signature in database
GPG Key ID: 83C196363AF97C4C
6 changed files with 4 additions and 39 deletions

View File

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

View File

@ -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
View File

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

File diff suppressed because one or more lines are too long

View File

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

View File

@ -1 +1 @@
export const VERSION = '12-3'
export const VERSION = '12-4'