Skip to content

Commit

Permalink
Update to install dos2unix
Browse files Browse the repository at this point in the history
  • Loading branch information
woodenclock committed Oct 9, 2023
1 parent fe6e136 commit 015343f
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:
- name: Set up repository
uses: actions/checkout@master

- name: Set up repository
uses: actions/checkout@master
with:
ref: master

- name: Merge to master
run: git checkout --progress --force ${{ github.sha }}

Expand All @@ -30,6 +25,16 @@ jobs:
java-version: '11'
java-package: jdk+fx

# Install dos2unix on Linux
- name: Install dos2unix (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y dos2unix

# Install dos2unix on macOS
- name: Install dos2unix (macOS)
if: runner.os == 'macOS'
run: brew install dos2unix

- name: Build and check with Gradle
run: ./gradlew check

Expand All @@ -47,4 +52,4 @@ jobs:
if: always() && runner.os == 'Windows'
working-directory: ${{ github.workspace }}/text-ui-test
shell: cmd
run: runtest.bat
run: runtest.bat

0 comments on commit 015343f

Please sign in to comment.