Edited linux_yandex_mirror.html #180
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
win: | |
name: Windows (windows-latest) | |
runs-on: windows-latest | |
steps: | |
- name: Git Clone | |
uses: actions/checkout@v4 | |
- name: Set up Java SDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "zulu" | |
java-version: "8" | |
architecture: "x64" | |
- name: Build | |
run: | | |
cd java | |
make | |
- name: Upload artifact (Calc.java) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Calc_java_win | |
path: java\Calc | |
linux: | |
name: Linux (ubuntu-latest) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git Clone | |
uses: actions/checkout@v4 | |
- name: Set up Java SDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "zulu" | |
java-version: "20" | |
architecture: "x64" | |
- name: Build | |
run: | | |
cd java | |
make | |
- name: Upload artifact (Calc.java) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Calc_java_linux | |
path: java/Calc |