upgrade Copyright to 2025 #9
Workflow file for this run
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: Pull Requests | |
on: pull_request_target | |
jobs: | |
# Build native executable per runner | |
build: | |
name: 'Build with Graal on ${{ matrix.os }}' | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 90 | |
steps: | |
- name: 'Check out repository' | |
uses: actions/checkout@v3 | |
- name: Install upx in Linux | |
run: sudo apt-get install upx | |
if: ${{ runner.os == 'Linux' }} | |
- name: Install upx in macOS | |
run: brew install upx | |
if: ${{ runner.os == 'macOS' }} | |
- name: Install upx in Windows | |
run: choco install upx | |
if: ${{ runner.os == 'Windows' }} | |
- name: 'Set up Graal' | |
uses: graalvm/setup-graalvm@v1 | |
with: | |
distribution: 'graalvm-community' | |
java-version: '21' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: 'Cache Maven packages' | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: 'Create distribution' | |
run: mvn -B --file pom.xml -Pnative -pl iot.technology:toolkit-app package -am | |
- name: 'Smoke test' | |
run: > | |
./toolkit-app/target/toolkit -V | |
create_pr: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Auto assign' | |
uses: kentaro-m/auto-assign-action@v1.1.2 | |
with: | |
configuration-path: ".github/auto_assign.yml" | |