Skip to content

Commit

Permalink
Merge pull request #21 from gerlero/hotfix
Browse files Browse the repository at this point in the history
Fix errors on Ubuntu 20.04
  • Loading branch information
gerlero authored Aug 24, 2024
2 parents 8f95f53 + 8729a68 commit 6230688
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,16 @@ runs:
curl -s https://dl.openfoam.com/add-debian-repo.sh | sudo bash
shell: bash
- name: Get OS version
id: os-version
uses: sersoft-gmbh/os-version-action@v3
- name: Install OpenFOAM on Linux
if: steps.prep.outputs.apt-packages
uses: gerlero/apt-install@v1
with:
packages: ${{ steps.prep.outputs.apt-packages }}
update: ${{ inputs.openfoam-version < 1000 }}
cache: ${{ inputs.cache }}
- name: Get OS version
if: runner.os == 'macOS' && inputs.cache && inputs.cache != 'false'
id: os-version
uses: sersoft-gmbh/os-version-action@v3
cache: ${{ inputs.cache && inputs.cache != 'false' && steps.os-version.outputs.version != '20.04' }}
- name: Cache OpenFOAM on macOS
if: runner.os == 'macOS' && inputs.cache && inputs.cache != 'false'
id: cache-macos
Expand Down

0 comments on commit 6230688

Please sign in to comment.