Skip to content

Introduce the environment builder API and implement a micromamba-based build handler #43

Introduce the environment builder API and implement a micromamba-based build handler

Introduce the environment builder API and implement a micromamba-based build handler #43

Workflow file for this run

name: build
on:
pull_request:
branches:
- main
push:
branches:
- main
tags:
- "*-[0-9]+.*"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'zulu'
cache: 'maven'
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Cache Appose environments
id: cache-appose
uses: actions/cache@v4
with:
path: ~/.local/share/appose
key: ${{ runner.os }}-build-appose-${{ hashFiles('*') }}
restore-keys: |
${{ runner.os }}-build-appose-
- name: Set up CI environment
run: .github/setup.sh
- name: Execute the build
run: .github/build.sh
env:
GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
OSSRH_PASS: ${{ secrets.OSSRH_PASS }}
SIGNING_ASC: ${{ secrets.SIGNING_ASC }}