Skip to content

Commit

Permalink
Merge pull request #45 from gerlero/action
Browse files Browse the repository at this point in the history
Remove unused function
  • Loading branch information
gerlero authored Oct 25, 2024
2 parents a8c0c14 + c648264 commit eb657b8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ runs:
- name: Prepare
id: prep
run: |
sudo() {
if [ $(id -u) -eq 0 ]; then
"$@"
else
command sudo "$@"
fi
}
if [ $(uname) == "Darwin" ]; then
brew tap gerlero/openfoam
echo "openfoam-app-version=$(brew info gerlero/openfoam/openfoam | head -n 1 | awk '{print $3}')" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit eb657b8

Please sign in to comment.