2.13.1 #31
Workflow file for this run
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: CD | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: write-all | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| - name: Setup Git User | |
| run: | | |
| git config --global user.email "melaasar@gmail.com" | |
| git config --global user.name "Maged Elaasar" | |
| - name: Set up Maven | |
| uses: stCarolas/setup-maven@v5 | |
| with: | |
| maven-version: 3.9.8 | |
| - name: Publish repository | |
| run: mvn deploy -Prelease-composite -Dgithub-update-repo=https://x-access-token:${ACTIONS_TOKEN}@github.com/opencaesar/oml-rosetta-p2 | |
| env: | |
| ACTIONS_TOKEN: ${{ secrets.ACTIONS_TOKEN }} | |
| - name: Set Version | |
| run: io.opencaesar.rosetta.product/setversion.sh | |
| - name: Publish executables | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| files: io.opencaesar.rosetta.product/target/products/* |