@@ -5,8 +5,8 @@ on: [push]
5
5
jobs :
6
6
7
7
ubuntu :
8
- name : Ubuntu-20 .04 Focal
9
- runs-on : ubuntu-20 .04
8
+ name : Ubuntu-22 .04
9
+ runs-on : ubuntu-22 .04
10
10
timeout-minutes : 30
11
11
12
12
steps :
16
16
sudo snap connect nelson:home
17
17
sudo snap connect nelson:removable-media
18
18
19
- - uses : actions/checkout@v3
19
+ - uses : actions/checkout@v4
20
20
21
21
- name : creates artifacts directory
22
22
run : |
38
38
run : |
39
39
nelson -cli --quiet -e "test_run('module_skeleton_basic', 'benchs', '/home/runner/install/artifacts/benchs_results.xml');quit"
40
40
41
- - uses : actions/upload-artifact@v1
41
+ - uses : actions/upload-artifact@v4
42
42
with :
43
43
name : module_skeleton_basic-github-action-artifacts-linux
44
44
path : /home/runner/install/artifacts/
@@ -52,17 +52,17 @@ jobs:
52
52
shell : cmd
53
53
54
54
steps :
55
- - name : Download Nelson v0.7.2 (win64)
55
+ - name : Download Nelson v1.2.0 (win64)
56
56
run : |
57
57
$null = mkdir c:/install
58
- (new-object net.webclient).DownloadFile("https://github.com/nelson-lang/nelson/releases/download/v0.7.2 /Nelson-0.7.2.2774 -x86-64.exe", "C:\install\Nelson-x86-64.exe")
58
+ (new-object net.webclient).DownloadFile("https://github.com/nelson-lang/nelson/releases/download/v1.2.0 /Nelson-1.2.0.3744 -x86-64.exe", "C:\install\Nelson-x86-64.exe")
59
59
shell : powershell
60
60
61
61
- name : Install Nelson
62
62
run : |
63
- C:/install/Nelson-x86-64.exe /SP- /SILENT /DIR="c:/install/Nelson"
63
+ C:/install/Nelson-x86-64.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /DIR="c:/install/Nelson"
64
64
65
- - uses : actions/checkout@v3
65
+ - uses : actions/checkout@v4
66
66
67
67
- name : creates artifacts directory
68
68
run : |
85
85
run : |
86
86
"c:/install/Nelson/bin/x64/nelson-adv-cli" --noipc --quiet -e "test_run('module_skeleton_basic', 'benchs', 'c:/install/artifacts/benchs_results.xml');quit"
87
87
88
- - uses : actions/upload-artifact@v1
88
+ - uses : actions/upload-artifact@v4
89
89
with :
90
90
name : module_skeleton_basic-github-action-artifacts
91
91
path : c:/install/artifacts/
0 commit comments