diff --git a/.github/workflows/runonce.yml b/.github/workflows/runonce.yml index ed9f425..129da28 100644 --- a/.github/workflows/runonce.yml +++ b/.github/workflows/runonce.yml @@ -142,11 +142,11 @@ jobs: # Use dnf to install build dependencies - name: Install build dependencies run: | - wget -q http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/golang-1.20.6-1.module_el8+602+8bb8a8d6.x86_64.rpm \ - http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/golang-bin-1.20.6-1.module_el8+602+8bb8a8d6.x86_64.rpm \ - http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/golang-src-1.20.6-1.module_el8+602+8bb8a8d6.noarch.rpm \ - http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/go-toolset-1.20.6-1.module_el8+602+8bb8a8d6.x86_64.rpm - rpm -i go*.rpm + dnf --assumeyes install \ + http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/golang-1.20.6-2.module_el8+658+f14b2092.x86_64.rpm \ + http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/golang-bin-1.20.6-2.module_el8+658+f14b2092.x86_64.rpm \ + http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/golang-src-1.20.6-2.module_el8+658+f14b2092.noarch.rpm \ + http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/go-toolset-1.20.6-1.module_el8+602+8bb8a8d6.x86_64.rpm - name: RPM build MetricCollector id: rpmbuild @@ -183,9 +183,9 @@ jobs: # Use dnf to install build dependencies - name: Install build dependencies run: | - wget -q http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/golang-1.20.6-1.module_el8+602+8bb8a8d6.x86_64.rpm \ - http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/golang-bin-1.20.6-1.module_el8+602+8bb8a8d6.x86_64.rpm \ - http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/golang-src-1.20.6-1.module_el8+602+8bb8a8d6.noarch.rpm \ + wget -q http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/ golang-1.20.6-2.module_el8+658+f14b2092.x86_64.rpm \ + http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/golang-bin-1.20.6-2.module_el8+658+f14b2092.x86_64.rpm \ + http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/golang-src-1.20.6-2.module_el8+658+f14b2092.noarch.rpm \ http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/go-toolset-1.20.6-1.module_el8+602+8bb8a8d6.x86_64.rpm rpm -i go*.rpm