@@ -34,25 +34,25 @@ jobs:
34
34
- name : ' Get Package name and version from logs/ to GITHUB_ENVIRONMENT'
35
35
run : ./build/GithubEnv.sh
36
36
- name : ' Upload Artifact samba_exporter'
37
- uses : actions/upload-artifact@v3
37
+ uses : actions/upload-artifact@v4
38
38
with :
39
39
name : samba_exporter-${{ matrix.os }}
40
40
path : bin/samba_exporter
41
41
retention-days : 1
42
42
- name : ' Upload Artifact samba_statusd'
43
- uses : actions/upload-artifact@v3
43
+ uses : actions/upload-artifact@v4
44
44
with :
45
45
name : samba_statusd-${{ matrix.os }}
46
46
path : bin/samba_statusd
47
47
retention-days : 1
48
48
- name : ' Upload Artifact PackageName.txt'
49
- uses : actions/upload-artifact@v3
49
+ uses : actions/upload-artifact@v4
50
50
with :
51
51
name : PackageName-${{ matrix.os }}.txt
52
52
path : logs/PackageName.txt
53
53
retention-days : 1
54
54
- name : ' Upload Artifact ShortVersion.txt'
55
- uses : actions/upload-artifact@v3
55
+ uses : actions/upload-artifact@v4
56
56
with :
57
57
name : ShortVersion-${{ matrix.os }}.txt
58
58
path : logs/ShortVersion.txt
74
74
depends : ${{ env.SAMBA_EXPORTER_PACKAGE_DEPENDS }}
75
75
desc : ${{ env.SAMBA_EXPORTER_PACKAGE_DESCRIPTION }}
76
76
- name : " Upload Artifact samba_exporter*.deb"
77
- uses : actions/upload-artifact@v3
77
+ uses : actions/upload-artifact@v4
78
78
with :
79
79
name : samba_exporter-${{ matrix.os }}.deb
80
80
path : ${{ env.SAMBA_EXPORTER_PACKAGE_NAME }}_amd64.deb
92
92
requirements : ' build/pages/requirements.txt'
93
93
configfile : ' build/pages/mkdocs.yml'
94
94
- name : " Upload Artifact docs pages"
95
- uses : actions/upload-artifact@v3
95
+ uses : actions/upload-artifact@v4
96
96
with :
97
97
name : docs-pages
98
98
path : build/pages/site/**
@@ -110,20 +110,20 @@ jobs:
110
110
./build/CreateRpmPackage.sh
111
111
build/GithubEnv.sh
112
112
- name : " Upload Artifact - RPM"
113
- uses : actions/upload-artifact@v3
113
+ uses : actions/upload-artifact@v4
114
114
with :
115
115
name : samba_exporter-rpm
116
116
path : bin/samba-exporter-${{ env.SAMBA_EXPORTER_RPM_VERSION }}-1.x86_64.rpm
117
117
retention-days : 1
118
118
- name : " Upload Artifact - Docker build log"
119
- uses : actions/upload-artifact@v3
119
+ uses : actions/upload-artifact@v4
120
120
if : always()
121
121
with :
122
122
name : docker-build-fedora-log
123
123
path : logs/docker-build-fedora.log
124
124
retention-days : 1
125
125
- name : " Upload Artifact - Unit Test log"
126
- uses : actions/upload-artifact@v3
126
+ uses : actions/upload-artifact@v4
127
127
if : always()
128
128
with :
129
129
name : unit-test-fedora-log
@@ -139,12 +139,12 @@ jobs:
139
139
steps :
140
140
- uses : actions/checkout@v3
141
141
- name : Download samba_exporter artifact
142
- uses : actions/download-artifact@v3
142
+ uses : actions/download-artifact@v4
143
143
with :
144
144
name : samba_exporter-${{ matrix.os }}
145
145
path : bin/samba_exporter
146
146
- name : Download samba_statusd artifact
147
- uses : actions/download-artifact@v3
147
+ uses : actions/download-artifact@v4
148
148
with :
149
149
name : samba_statusd-${{ matrix.os }}
150
150
path : bin/samba_statusd
@@ -164,12 +164,12 @@ jobs:
164
164
steps :
165
165
- uses : actions/checkout@v3
166
166
- name : Download samba_exporter artifact
167
- uses : actions/download-artifact@v3
167
+ uses : actions/download-artifact@v4
168
168
with :
169
169
name : samba_exporter-${{ matrix.os }}
170
170
path : bin/samba_exporter
171
171
- name : Download samba_statusd artifact
172
- uses : actions/download-artifact@v3
172
+ uses : actions/download-artifact@v4
173
173
with :
174
174
name : samba_statusd-${{ matrix.os }}
175
175
path : bin/samba_statusd
@@ -189,12 +189,12 @@ jobs:
189
189
# steps:
190
190
# - uses: actions/checkout@v3
191
191
# - name: Download PackageName.txt artifact
192
- # uses: actions/download-artifact@v3
192
+ # uses: actions/download-artifact@v4
193
193
# with:
194
194
# name: PackageName-${{ matrix.os }}.txt
195
195
# path: logs/
196
196
# - name: Download samba_exporter package artifact
197
- # uses: actions/download-artifact@v3
197
+ # uses: actions/download-artifact@v4
198
198
# with:
199
199
# name: samba_exporter-${{ matrix.os }}.deb
200
200
# path: .
@@ -212,17 +212,17 @@ jobs:
212
212
steps :
213
213
- uses : actions/checkout@v3
214
214
- name : Download samba_exporter package artifact
215
- uses : actions/download-artifact@v3
215
+ uses : actions/download-artifact@v4
216
216
with :
217
217
name : samba_exporter-ubuntu-22.04.deb
218
218
path : .
219
219
- name : Download PackageName.txt artifact
220
- uses : actions/download-artifact@v3
220
+ uses : actions/download-artifact@v4
221
221
with :
222
222
name : PackageName-ubuntu-22.04.txt
223
223
path : logs/ubuntu-22.04/
224
224
- name : Download ShortVersion.txt artifact
225
- uses : actions/download-artifact@v3
225
+ uses : actions/download-artifact@v4
226
226
with :
227
227
name : ShortVersion-ubuntu-22.04.txt
228
228
path : logs/
0 commit comments