From 526a461098ddc80e3a5f16ffabd55e57db6a4201 Mon Sep 17 00:00:00 2001 From: yhmo Date: Wed, 8 Jan 2025 17:36:39 +0800 Subject: [PATCH] Remove unsupported OS for github actions Signed-off-by: yhmo --- .github/workflows/main.yaml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 721a2c2..63539a4 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -38,17 +38,13 @@ jobs: matrix: os: - distro: Ubuntu - version: 18.04 - image: ubuntu:18.04 - key: u1804 + version: 20.04 + image: ubuntu:20.04 + key: u2004 - distro: Ubuntu version: 22.04 image: ubuntu:22.04 key: u2204 - - distro: CentOS - version: 7 - image: centos:7 - key: c7 - distro: Fedora version: 38 image: fedora:38 @@ -67,9 +63,9 @@ jobs: - name: Env run: echo "${HOME}/.local/bin" >> $GITHUB_PATH - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ github.workspace }}/.ccache @@ -103,9 +99,9 @@ jobs: - name: Env run: echo "${HOME}/.local/bin" >> $GITHUB_PATH - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ github.workspace }}/.ccache @@ -142,9 +138,9 @@ jobs: CCACHE_MAXSIZE: 2G steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ github.workspace }}/.ccache @@ -167,9 +163,9 @@ jobs: CCACHE_COMPRESSLEVEL: 5 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ github.workspace }}/.ccache