Build Test Instance #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: 'Cleanroom branch' | |
default: 'main' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' # 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.version }} | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
name: Cleanroom_MMC | |
# A file, directory or wildcard pattern that describes what to upload | |
path: build/output |