Skip to content

Fix/unquote etag header #88

Fix/unquote etag header

Fix/unquote etag header #88

Workflow file for this run

name: Java CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Git repo (with tags)
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache Maven packages
uses: actions/cache@v3
with:
key: ${{ runner.os }}-1
path: |
~/.m2/repository
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots install
- name: Run Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Login to Docker Hub
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'DiceTechnology/dice-where' }}
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set version, sign artifacts and deploy to Maven Central/Docker Hub
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'DiceTechnology/dice-where' }}
run: cd/deploy.sh
env:
GPG_KEY: ${{ secrets.GPG_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
SLACK_URL: ${{ secrets.SLACK_URL }}