Skip to content

CRIOPS-252 Update CHANGELOG.md #44

CRIOPS-252 Update CHANGELOG.md

CRIOPS-252 Update CHANGELOG.md #44

Workflow file for this run

---
name: Build
on:
push:
branches:
- '**'
pull_request:
types:
- opened
- edited
workflow_dispatch:
jobs:
build-java-source:
name: Build jar files
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Check out repository
uses: actions/checkout@v5
- name: Set up Java environment for GitHub Packages
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: '17'
cache: maven
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
# TODO: run front end tests
- name: Build and test
run: mvn package
- name: Publish to GitHub Packages
if: github.ref == 'refs/heads/main' || github.ref_type == 'tag'
run: mvn deploy -DskipTests -Pci,production
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
- name: Attach files to release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
with:
files: |
RUNNING.md
target/omop_annotator.jar