Skip to content

Build

Build #328

Workflow file for this run

name: Build
on: [push ,workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 8
java-package: jdk
- name: Dependencies
run: |
sudo apt update
sudo apt install -y aspell libreoffice pandoc
- name: Build
env:
REALTA_USERNAME: ${{ secrets.REALTA_USERNAME }}
REALTA_PASSWORD: ${{ secrets.REALTA_PASSWORD }}
run: |
mkdir target
timestamp=$(date -u +%Y%m%d-%H%M)
echo "TIMESTAMP=${timestamp}" >>$GITHUB_ENV
bash build.sh target github ${timestamp}z "${REALTA_USERNAME:-}" "${REALTA_PASSWORD:-}" DELETE-REPOSITORY-FILES-AS-WELL
- uses: actions/upload-artifact@v4
with:
name: UBL-package-github-${{ env.TIMESTAMP }}z
path: ./*
#path: target/artefacts-UBL-2.3-github-${{ env.TIMESTAMP }}z/*
#name: all-UBL-2.3-github-${{ env.TIMESTAMP }}z
#path: ./*