Skip to content

[0.2.2-alpha+build.31.run.681] MMC instance of experimental/foundation #287

[0.2.2-alpha+build.31.run.681] MMC instance of experimental/foundation

[0.2.2-alpha+build.31.run.681] MMC instance of experimental/foundation #287

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Build Test Instance
run-name: "[${{ github.event.client_payload.version }}] MMC instance of ${{ inputs.branch || github.event.client_payload.branch }}"
on:
workflow_dispatch:
inputs:
branch:
description: 'Cleanroom branch'
default: 'main'
repository_dispatch:
types: [cleanroom_upload_artifact]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: setup python
uses: actions/[email protected]
with:
python-version: '3.12' # install the python version needed
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: execute py script # run main.py
run: python main.py
env:
cleanroomDownloadBranch: ${{ inputs.branch || github.event.client_payload.branch }}
commit_hash: ${{ github.event.client_payload.commit_hash }}
run_job_url: ${{ github.event.client_payload.run_job_url }}
version: ${{ github.event.client_payload.version }}
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: Cleanroom_MMC ${{ github.event.client_payload.version }}
# A file, directory or wildcard pattern that describes what to upload
path: build/output