Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

tidy up ci scripts

tidy up ci scripts #11

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: NWA12_RT
# Controls when the workflow will run
on:
# Triggers the workflow on pull request events as well as specific label
pull_request:
branches: [ "dev/cefi" ]
types: [ labeled ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "NWA12_RT_run"
NWA12_RT_run:
# run RT only when label 'NWA12_RT_gaea_c5' is on
if: ${{ github.event.label.name == 'NWA12_RT_gaea_c5' }}
# The type of runner that the job will run on
runs-on: self-hosted
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout Repository
uses: actions/checkout@v3
# Run create_run_xml_from_template.bash
- name: create and run FRE xml
run: |
pwd
cd ci
#bash create_run_xml_from_template.bash
- name: Remove "NWA12_RT_gaea_c5" label
if: success() && contains(github.event.label.name, 'NWA12_RT_gaea_c5')
uses: buildsville/[email protected]
with:
token: ${{secrets.GITHUB_TOKEN}}
labels: NWA12_RT_gaea_c5
type: remove
- name: Add "pass_NWA12_RT" label on success
if: success()
uses: buildsville/[email protected]
with:
token: ${{secrets.GITHUB_TOKEN}}
labels: pass_NWA12_RT
type: add