#18 Update about stage to get correct layout on Linux #33
This file contains hidden or 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: Build and Package | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-15, windows-latest] | |
| java-version: [17] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ matrix.java-version }} | |
| distribution: 'adopt' | |
| - name: Build with Maven | |
| run: mvn package | |
| - name: Upload Artifact | |
| if: success() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: GitWave_${{ matrix.os }}_${{ runner.arch }} | |
| path: target/GitWave.zip |