20
20
runs-on : ${{ matrix.os }}
21
21
steps :
22
22
- name : Setup Python 3.8
23
- uses : actions/setup-python@v2
23
+ uses : actions/setup-python@v4
24
24
with :
25
25
python-version : ' 3.8'
26
26
- name : Initialize TAG and git autocrlf
@@ -42,42 +42,42 @@ jobs:
42
42
mingw64/mingw-w64-x86_64-libiconv
43
43
mingw64/mingw-w64-x86_64-gmp
44
44
- name : Get als
45
- uses : actions/checkout@v2
45
+ uses : actions/checkout@v3
46
46
with :
47
47
fetch-depth : 0
48
48
- name : Get VSS
49
- uses : actions/checkout@v2
49
+ uses : actions/checkout@v3
50
50
with :
51
51
repository : AdaCore/VSS
52
52
path : subprojects/VSS
53
53
- name : Get Spawn
54
- uses : actions/checkout@v2
54
+ uses : actions/checkout@v3
55
55
with :
56
56
repository : AdaCore/spawn
57
57
path : subprojects/spawn
58
58
- name : Get LAL_Tools
59
- uses : actions/checkout@v2
59
+ uses : actions/checkout@v3
60
60
with :
61
61
repository : AdaCore/libadalang-tools
62
62
path : subprojects/libadalang-tools
63
63
- name : Get Templates Parser
64
- uses : actions/checkout@v2
64
+ uses : actions/checkout@v3
65
65
with :
66
66
repository : AdaCore/templates-parser
67
67
path : subprojects/templates-parser
68
68
- name : Get GNATdoc
69
- uses : actions/checkout@v2
69
+ uses : actions/checkout@v3
70
70
with :
71
71
repository : AdaCore/gnatdoc
72
72
path : subprojects/gnatdoc
73
73
ref : edge
74
- - uses : actions/cache@v2
74
+ - uses : actions/cache@v3
75
75
with :
76
76
path : ./cached_gnat
77
77
key : ${{ runner.os }}-alire-2022
78
78
restore-keys : ${{ runner.os }}-alire-2022
79
79
- name : Get GNAT toolchain with alire
80
- uses : alire-project/setup-alire@v1
80
+ uses : alire-project/setup-alire@v2
81
81
with :
82
82
toolchain : gnat_native^12 gprbuild^22
83
83
toolchain_dir : ./cached_gnat
99
99
run : .github/workflows/build-binaries.sh "${{ matrix.debug }}" ${{ runner.os }} ${{ env.TAG }}
100
100
- name : Archive ALS binary
101
101
if : ${{ github.event_name == 'push' }}
102
- uses : actions/upload-artifact@v2
102
+ uses : actions/upload-artifact@v3
103
103
with :
104
104
name : als-${{ runner.os }}-${{ matrix.debug }}
105
105
path : integration/vscode/ada/[ldw]*/*
@@ -109,11 +109,11 @@ jobs:
109
109
runs-on : ubuntu-latest
110
110
steps :
111
111
- name : Get als
112
- uses : actions/checkout@v2
112
+ uses : actions/checkout@v3
113
113
with :
114
114
fetch-depth : 0
115
115
- name : Download all workflow run artifacts
116
- uses : actions/download-artifact@v2
116
+ uses : actions/download-artifact@v3
117
117
- name : Pack vscode extension
118
118
run : |
119
119
if [[ ${GITHUB_REF##*/} = 2*.[0-9]*.[0-9]* ]]; then
@@ -127,7 +127,7 @@ jobs:
127
127
.github/workflows/pack-binaries.sh "" "${{secrets.VSCE_TOKEN}}" "${{secrets.OPENVSX_TOKEN}}" $TAG
128
128
# .github/workflows/pack-binaries.sh "debug" "${{secrets.VSCE_TOKEN}}" "${{secrets.OPENVSX_TOKEN}}" $TAG
129
129
- name : Archive ALS vsix
130
- uses : actions/upload-artifact@v2
130
+ uses : actions/upload-artifact@v3
131
131
with :
132
132
name : als-vsix-${{ matrix.debug }}${{ env.TAG }}
133
133
path : ' *.vsix'
0 commit comments