Skip to content

enable updating history item by paymentId #10

enable updating history item by paymentId

enable updating history item by paymentId #10

Workflow file for this run

name: Release
on:
push:
branches: [ "master" ]
permissions: write-all
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: "20"
- name: Build with Maven
run: mvn -B package -DskipTests
- name: Install npm package
run: npm install
working-directory: "target/generated-sources/openapi/"
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
registry: "https://npm.pkg.github.com"
package: "target/generated-sources/openapi/"
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/opendonationassistant/oda-history-service:${{ github.RUN_NUMBER }}