From de7b62dfcbcfd038e192851edc05d75720e5cc53 Mon Sep 17 00:00:00 2001 From: agnik Date: Fri, 4 Oct 2024 14:44:22 +0530 Subject: [PATCH] fixerror --- .github/workflows/release-fedora.yml | 4 ++-- fedora-build.sh | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release-fedora.yml b/.github/workflows/release-fedora.yml index 27c8ec3d..51794d27 100644 --- a/.github/workflows/release-fedora.yml +++ b/.github/workflows/release-fedora.yml @@ -9,11 +9,11 @@ jobs: build: runs-on: ubuntu-latest container: - image: fedora:34 + image: fedora:38 options: --workdir /github/workspace env: TARGET_ARCH: x86_64 - + steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/fedora-build.sh b/fedora-build.sh index 51708cf9..622381dc 100644 --- a/fedora-build.sh +++ b/fedora-build.sh @@ -5,8 +5,6 @@ set -e os=$(uname | tr '[:upper:]' '[:lower:]') arch=$(uname -m | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) -# Set architecture variable -arch=$(uname -m | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) # Update and install system dependencies dnf update -y && dnf install -y \ @@ -25,10 +23,6 @@ wget https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tgz \ && make altinstall \ && cd .. && rm -rf Python-3.9.17* -# Ensure Python 3.9 and pip are available -ln -s /usr/local/bin/python3.9 /usr/bin/python3.9 \ - && ln -s /usr/local/bin/pip3.9 /usr/bin/pip3.9 - # Install Python packages pip3.9 install cpplint pytest numpy sympy==1.12.1 cairo-lang==0.12.0