Skip to content

Commit 6cc7639

Browse files
authored
Create test.yml
1 parent ede1cc3 commit 6cc7639

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/test.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# This is a basic workflow that is manually triggered
2+
3+
name: Test workflow
4+
5+
# Controls when the action will run. Workflow runs when manually triggered using the UI
6+
# or API.
7+
on:
8+
workflow_dispatch:
9+
# Inputs the workflow accepts.
10+
inputs:
11+
name:
12+
# Friendly description to be shown in the UI instead of 'name'
13+
description: 'Person to greet'
14+
# Default value if no value is explicitly provided
15+
default: 'World'
16+
# Input has to be provided for the workflow to run
17+
required: true
18+
19+
jobs:
20+
# This workflow contains a single job called "greet"
21+
bulid_the_develop_release:
22+
# The type of runner that the job will run on
23+
runs-on: ubuntu-latest
24+
container:
25+
image: dunedaq/sl7-minimal:dev
26+
env:
27+
DBT_AREA_FILE: "dbt-settings"
28+
29+
# Steps represent a sequence of tasks that will be executed as part of the job
30+
steps:
31+
# Runs a single command using the runners shell
32+
33+
- name: Start the CI
34+
run: echo "Start the CI anyway ${{ github.event.inputs.name }}"
35+
36+
- name: Checkout daq-release
37+
uses: actions/checkout@v2
38+
with:
39+
repository: DUNE-DAQ/daq-release
40+
path: daq-release
41+
42+
- name: setup dev area and checkout code
43+
run: |
44+
echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $1}')"
45+
echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $1}')" >> $GITHUB_ENV
46+
echo $GITHUB_ENV
47+
printenv
48+

0 commit comments

Comments
 (0)