Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbashir committed Jun 16, 2024
1 parent 294d579 commit ed877e5
Showing 1 changed file with 4 additions and 30 deletions.
34 changes: 4 additions & 30 deletions .github/workflows/push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,19 @@ jobs:
gradle-build:
strategy:
matrix:
os: [ ubuntu-latest, macos-11, windows-latest ]
os: [ ubuntu-latest ]
jdk: [ 21 ]
tarantool: [ 2.11 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2

- if: runner.os == 'Windows'
uses: Vampire/setup-wsl@v1
with:
distribution: Debian
additional-packages:
aptitude
sudo

- if: runner.os == 'macOS'
name: Initialize the tarantool on OSX
run: brew install tarantool

- if: runner.os == 'Windows'
name: Initialize the tarantool on WSL
run: |
wsl bash -c "sudo apt-get -y install curl"
wsl bash -c "curl -L https://tarantool.io/KKkJBXq/release/${{ matrix.tarantool }}/installer.sh | bash"
wsl bash -c "sudo apt-get -y install tarantool"
- if: runner.os == 'Linux'
uses: tarantool/setup-tarantool@v1
- uses: tarantool/setup-tarantool@v1
with:
tarantool-version: '${{ matrix.tarantool }}'
tarantool-version: '2.11'

- if: runner.os == 'macOS' || runner.os == 'Linux'
name: Setup temporary directory on Unix based
- name: Setup temporary directory on Unix based
run: echo "TMPDIR=${{ runner.temp }}" >> $GITHUB_ENV

- if: runner.os == 'Windows'
name: Setup temporary directory on WSL
run: wsl bash -c \"echo "TMPDIR=${{ runner.temp }}" >> $GITHUB_ENV\"

- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.jdk }}
Expand Down

0 comments on commit ed877e5

Please sign in to comment.