Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

slightly change sharing link of user posts AGAIN #1932

slightly change sharing link of user posts AGAIN

slightly change sharing link of user posts AGAIN #1932

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
env:
DATABASE_URL: ${{ github.event_name != 'pull_request' && secrets.DATABASE_URL || 'jdbc:postgresql://hh-pgsql-public.ebi.ac.uk:5432/pfmegrnargs' }}
DATABASE_USERNAME: ${{ github.event_name != 'pull_request' && secrets.DATABASE_USERNAME || 'reader' }}
DATABASE_PASSWORD: ${{ github.event_name != 'pull_request' && secrets.DATABASE_PASSWORD || 'NWDMCE5xdipIjRrp' }}
run: mvn -B package --file pom.xml
- name: Copy Artifact
run: mkdir staging && cp -p target/*.jar staging
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: 'server'
path: './staging'
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@v3
with:
ignore-maven-wrapper: true