From c9bb6c2addb4f5dfe67a29b98c3b7da1fb7c6980 Mon Sep 17 00:00:00 2001 From: Rhys <98863820+rhysdh540@users.noreply.github.com> Date: Sun, 14 Apr 2024 15:10:04 -0400 Subject: [PATCH] install advzip in workflows --- .github/workflows/build.yml | 4 +++- .github/workflows/pull_request.yml | 4 +++- .github/workflows/release.yml | 4 +++- .github/workflows/release_dev.yml | 2 +- .github/workflows/release_pre.yml | 2 +- .github/workflows/release_rc.yml | 4 +++- 6 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a820fae2..afb65146 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,9 +3,11 @@ on: [ push ] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 + - name: install advzip + run: sudo apt-get install -y advancecomp - uses: actions/setup-java@v4 with: distribution: temurin diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 9726a495..f42b3bbc 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -3,9 +3,11 @@ on: [ pull_request ] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 + - name: install advzip + run: sudo apt-get install -y advancecomp - uses: actions/setup-java@v4 with: distribution: temurin diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1eea3aee..7450de67 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,12 +3,14 @@ on: [ workflow_dispatch ] jobs: publish: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 with: fetch-depth: 0 fetch-tags: true + - name: install advzip + run: sudo apt-get install -y advancecomp - uses: actions/setup-java@v4 with: distribution: temurin diff --git a/.github/workflows/release_dev.yml b/.github/workflows/release_dev.yml index 41b1c42e..33e5ee91 100644 --- a/.github/workflows/release_dev.yml +++ b/.github/workflows/release_dev.yml @@ -3,7 +3,7 @@ on: [ workflow_dispatch ] jobs: publish: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/release_pre.yml b/.github/workflows/release_pre.yml index 9458da36..cb716e13 100644 --- a/.github/workflows/release_pre.yml +++ b/.github/workflows/release_pre.yml @@ -3,7 +3,7 @@ on: [ workflow_dispatch ] jobs: publish: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/release_rc.yml b/.github/workflows/release_rc.yml index 436e54bf..e5315a45 100644 --- a/.github/workflows/release_rc.yml +++ b/.github/workflows/release_rc.yml @@ -3,12 +3,14 @@ on: [ workflow_dispatch ] jobs: publish: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 with: fetch-depth: 0 fetch-tags: true + - name: install advzip + run: sudo apt-get install -y advancecomp - uses: actions/setup-java@v4 with: distribution: temurin