From 41dd352e79fff87cb3ab8b52ab10ac206cac5ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Sun, 26 Nov 2023 14:04:13 +0100 Subject: [PATCH] Scripts --- .github/workflows/windows.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1d5fb61..d8f1396 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -108,14 +108,16 @@ jobs: fail-fast: false matrix: use_heif: [ non_heif ] #, heif ] - heif problems with mingw - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest container: image: ghcr.io/piegamesde/gtk4-cross:gtk-4.6 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Install additional dependencies # gio is for the build script - run: dnf install wget2 unzip mingw64-bzip2.noarch mingw64-poppler mingw64-poppler-glib mingw32-python3 rust-gio-devel adwaita-icon-theme -y && dnf clean all -y + run: | + dnf install curl wget2 unzip mingw64-bzip2.noarch mingw64-poppler mingw64-poppler-glib mingw32-python3 rust-gio-devel adwaita-icon-theme -y && dnf clean all -y + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - name: Setup rust version run: | @@ -179,7 +181,7 @@ jobs: container: image: ghcr.io/piegamesde/gtk4-cross:gtk-4.6 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Install dependencies(mostly sd) run: | dnf install wget -y @@ -189,7 +191,10 @@ jobs: sudo cp sd-v1.0.0-x86_64-unknown-linux-gnu/sd /usr/bin/sd - name: Install additional dependencies # gio is for the build script - run: dnf install wget2 unzip mingw64-bzip2.noarch mingw64-poppler mingw64-poppler-glib mingw32-python3 rust-gio-devel adwaita-icon-theme -y && dnf clean all -y + run: | + dnf install curl wget2 unzip mingw64-bzip2.noarch mingw64-poppler mingw64-poppler-glib mingw32-python3 rust-gio-devel adwaita-icon-theme -y && dnf clean all -y + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + - name: Setup rust version run: | rustup target add x86_64-pc-windows-gnu