Version 1.0.0.202410282046 #3
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: Release CI with Maven | |
on: | |
release: | |
types: [published] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- run: echo "TIMESTAMP=$(git show -s --format=%cd --date=format:%Y%m%d%H%M ${GITHUB_SHA})" >> $GITHUB_ENV | |
- name: Set up Java toolchain | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: | | |
11 | |
18 | |
mvn-toolchain-id: | | |
JavaSE-11 | |
JavaSE-18 | |
cache: maven | |
- name: Release with Maven Wrapper | |
run: ./mvnw -B -P ci-release -DforceContextQualifier=${TIMESTAMP} -Dqualifier=.${TIMESTAMP} deploy | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: packaged-bundles | |
path: ./org.uppaal.model.package/target/*.zip |