Skip to content

Commit

Permalink
Revert "Fix errors on Ubuntu 20.04"
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero authored Aug 24, 2024
1 parent 6230688 commit 9c7349d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,17 @@ 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 && inputs.cache != 'false' && steps.os-version.outputs.version != '20.04' }}
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
- name: Cache OpenFOAM on macOS
if: runner.os == 'macOS' && inputs.cache && inputs.cache != 'false'
id: cache-macos
Expand Down

0 comments on commit 9c7349d

Please sign in to comment.