1616 python-version : ' 3.11'
1717
1818 - name : Cache Python modules
19- uses : actions/cache@v1
19+ uses : actions/cache@v4
2020 env :
2121 cache-name : cache-node-modules
2222 with :
@@ -46,15 +46,15 @@ jobs:
4646 run : dist\hstsparser.exe -h
4747
4848 - name : Upload Executable
49- uses : actions/upload-artifact@v3
49+ uses : actions/upload-artifact@v4
5050 with :
5151 name : hstsparser.exe
5252 path : dist/hstsparser.exe
5353
5454 rpm :
5555 runs-on : ubuntu-latest
5656 container :
57- image : docker.io/library/fedora:40
57+ image : docker.io/library/fedora:42
5858 options : " --privileged"
5959 outputs :
6060 version : " ${{ steps.version.outputs.version }}"
@@ -72,41 +72,41 @@ jobs:
7272 run : make mock
7373
7474 - name : Upload mock logs
75- uses : actions/upload-artifact@v3
75+ uses : actions/upload-artifact@v4
7676 if : always()
7777 with :
7878 name : mock-logs
79- path : /var/lib/mock/fedora-40 -x86_64/result/*
79+ path : /var/lib/mock/fedora-42 -x86_64/result/*
8080
8181 - name : Get RPM Version and Release
8282 id : version
8383 run : echo "version=$(rpmspec -q hstsparser.spec --queryformat='%{version}-%{release}')" >> "$GITHUB_OUTPUT"
8484
8585 - name : Upload SRPM
86- uses : actions/upload-artifact@v3
86+ uses : actions/upload-artifact@v4
8787 with :
8888 name : hstsparser-${{ steps.version.outputs.version }}.src.rpm
89- path : /var/lib/mock/fedora-40 -x86_64/result/hstsparser-${{ steps.version.outputs.version }}.src.rpm
89+ path : /var/lib/mock/fedora-42 -x86_64/result/hstsparser-${{ steps.version.outputs.version }}.src.rpm
9090 if-no-files-found : error
9191
9292 - name : Upload RPM
93- uses : actions/upload-artifact@v3
93+ uses : actions/upload-artifact@v4
9494 with :
9595 name : hstsparser-${{ steps.version.outputs.version }}.noarch.rpm
96- path : /var/lib/mock/fedora-40 -x86_64/result/hstsparser-${{ steps.version.outputs.version }}.noarch.rpm
96+ path : /var/lib/mock/fedora-42 -x86_64/result/hstsparser-${{ steps.version.outputs.version }}.noarch.rpm
9797 if-no-files-found : error
9898
9999 rpmlint :
100100 runs-on : ubuntu-latest
101- container : docker.io/library/fedora:40
101+ container : docker.io/library/fedora:42
102102 needs : rpm
103103
104104 steps :
105105 - name : Checkout repository
106106 uses : actions/checkout@v3
107107
108108 - name : Download RPM
109- uses : actions/download-artifact@v2
109+ uses : actions/download-artifact@v4
110110 with :
111111 name : hstsparser-${{ needs.rpm.outputs.version }}.noarch.rpm
112112 path : .
0 commit comments