Skip to content

Add when to run the overdue script #107

Add when to run the overdue script

Add when to run the overdue script #107

Workflow file for this run

name: Builds and publishes All relevant objects
on:
push:
branches:
- '**' # matches every branch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'zulu'
cache: 'maven'
# - name: Login to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{secrets.DOCKERHUB_SIMPLEDOTORG_USERNAME}}
# password: ${{secrets.DOCKERHUB_SIMPLEDOTORG_ACCESS_TOCKEN}}
- uses: stCarolas/[email protected]
with:
maven-version: 3.9.6
- name: Sets up version
working-directory: packager
run: mvn versions:set -DnewVersion=${{github.ref_name}}.${{github.run_number}}
- name: Builds Artifacts and Images
working-directory: packager
run: mvn clean install
- name: Archive Hypertension Package
uses: actions/upload-artifact@v4
with:
name: Dhis2HypertensionPackage-${{github.ref_name}}.${{github.run_number}}-package.zip
path: packager/target/Dhis2HypertensionPackage-${{github.ref_name}}.${{github.run_number}}-package.zip