Skip to content

feat: copy object data in copy screen #1

feat: copy object data in copy screen

feat: copy object data in copy screen #1

Workflow file for this run

name: build
on: [ pull_request, push ]
jobs:
commit-checker:
runs-on: ubuntu-latest
outputs:
skip_build: ${{ steps.check.outputs.skip_build }}
steps:
- uses: actions/checkout@v4
- name: Check commit message
id: check
run: |
if git log -1 --pretty=%B | grep -q '\[skip ci\]'; then
echo "skip_build=true" >> $GITHUB_OUTPUT
else
echo "skip_build=false" >> $GITHUB_OUTPUT
fi
build:
needs: commit-checker
if: needs.commit_checker.outputs.skip_build == 'false'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Build with gradle
run: |
chmod +x gradlew
echo "Building..."
./gradlew build
env:
BUILD_ID: ${{ github.run_number }}
BUILD_RELEASE: false
- name: Gather artifacts
run: |
mkdir gathered-artifacts
cp -r versions/*/build/libs/* gathered-artifacts/
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: gathered-artifacts
summary:
runs-on: ubuntu-22.04
needs:
- build
steps:
- uses: actions/checkout@v4
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
name: Artifacts
path: gathered-artifacts
- name: Make build summary
run: python3 .github/workflows/scripts/summary.py # ubuntu-22.04 uses Python 3.10.6
env:
TARGET_SUBPROJECT: '' # leaving this empty means all subprojects