Skip to content

fix database index

fix database index #29

Workflow file for this run

name: Mini Server CI
on:
push:
branches: [ "alpha" ]
paths:
- '.github/workflows/alpha-server.yml'
- 'backend/**'
- 'cli/**'
- 'crypto-jvm/**'
- 'deploy/**'
- 'scripts/**'
- 'server/**'
- 'shared/**'
- 'gradle/**'
- '*.kts'
- 'Dockerfile'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
environment: mini
env:
# this will take the entire vars context configured in the repository > environments
# setting and convert it to JSON so we can automatically assign all the values to the
# runner's environment
VARS_CONTEXT: ${{ toJson(vars) }}
SECRETS_CONTEXT: ${{ toJson(secrets) }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: gradle
- name: Cache Docker images.
uses: ScribeMD/[email protected]
with:
key: docker-${{ runner.os }}-${{ hashFiles('Dockerfile', 'docker-image-in-test') }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build mini service
run: ./scripts/build_scripts/build-service-on-ci.sh