Skip to content

Commit

Permalink
install advzip in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysdh540 committed Apr 14, 2024
1 parent e2aed6a commit c9bb6c2
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [ workflow_dispatch ]

jobs:
publish:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [ workflow_dispatch ]

jobs:
publish:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release_rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9bb6c2

Please sign in to comment.