Skip to content

Commit

Permalink
Remove BASE_OS env
Browse files Browse the repository at this point in the history
  • Loading branch information
mizosoft committed Feb 10, 2024
1 parent 21f7983 commit c1cbaa6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on: [ push, pull_request, workflow_dispatch ]

env:
BASE_JAVA: 11
BASE_OS: ubuntu-latest

jobs:
tests:
Expand Down Expand Up @@ -61,14 +60,14 @@ jobs:
coverage:
name: Upload coverage report
needs: tests
runs-on: ${{ env.BASE_OS }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Download test results
uses: actions/download-artifact@v4
with:
name: ${{ env.BASE_OS }}-java-${{ env.BASE_JAVA }}-test-results
name: ubuntu-latest-java-${{ env.BASE_JAVA }}-test-results

- name: Generate coverage report
uses: ./.github/actions/gradle
Expand All @@ -84,7 +83,7 @@ jobs:
github.event_name == 'push'
&& github.ref_name == github.event.repository.default_branch
needs: tests
runs-on: ${{ env.BASE_OS }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ on:

env:
BASE_JAVA: 11
BASE_OS: ubuntu-latest

jobs:
publish-site:
name: Publish site
runs-on: ${{ env.BASE_OS }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ on:

env:
BASE_JAVA: 11
BASE_OS: ubuntu-latest

jobs:
release:
name: Release
runs-on: ${{ env.BASE_OS }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit c1cbaa6

Please sign in to comment.