Compare commits

..

2 Commits

Author SHA1 Message Date
Sascha Mann
95439ffc11 Update example-builds.yml 2022-04-28 12:13:08 +02:00
Sascha Mann
87aef8bf11 Update example-builds.yml 2022-04-28 12:06:36 +02:00
9 changed files with 12 additions and 5218 deletions

View File

@@ -29,11 +29,16 @@ jobs:
npm run build
npm run pack
- run: mkdir -p ${{ github.workspace }}/dilumtestcache # TODO: delete this line
- name: "Set up Julia"
id: setup-julia
uses: ./
env:
RUNNER_TOOL_CACHE: ${{ github.workspace }}/dilumtestcache
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- run: which julia # TODO: delete this line
- run: which -a julia # TODO: delete this line
- run: julia --version
- run: julia --compile=min -O0 -e 'import InteractiveUtils; InteractiveUtils.versioninfo()'

2
.gitignore vendored
View File

@@ -1,3 +1,3 @@
node_modules/
__tests__/runner/*
!dist/
dist/

View File

@@ -38,11 +38,7 @@ This action sets up a Julia environment for use in actions by downloading a spec
# The architecture of the Julia binaries.
#
# Please note that installing aarch64 binaries only makes sense on self-hosted aarch64 runners.
# We currently don't run test builds on that architecture, so we cannot guarantee that the input won't break randomly,
# although there is no reason why it would.
#
# Supported values: x64 | x86 | aarch64 (untested)
# Supported values: x64 | x86
#
# Default: x64
arch: ''

5204
dist/index.js vendored

File diff suppressed because it is too large Load Diff

BIN
dist/unzip vendored

Binary file not shown.

3
lib/installer.js generated
View File

@@ -32,8 +32,7 @@ const osMap = {
};
const archMap = {
'x86': 'i686',
'x64': 'x86_64',
'aarch64': 'aarch64'
'x64': 'x86_64'
};
// Store information about the environment
const osPlat = os.platform(); // possible values: win32 (Windows), linux (Linux), darwin (macOS)

5
package-lock.json generated
View File

@@ -1,12 +1,11 @@
{
"name": "setup-julia",
"version": "1.7.0",
"version": "1.6.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "setup-julia",
"version": "1.7.0",
"version": "1.6.1",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.2.6",

View File

@@ -1,6 +1,6 @@
{
"name": "setup-julia",
"version": "1.7.0",
"version": "1.6.1",
"private": true,
"description": "setup Julia action",
"main": "lib/setup-julia.js",

View File

@@ -18,8 +18,7 @@ const osMap = {
}
const archMap = {
'x86': 'i686',
'x64': 'x86_64',
'aarch64': 'aarch64'
'x64': 'x86_64'
}
// Store information about the environment