-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaction.yml
More file actions
41 lines (32 loc) · 852 Bytes
/
action.yml
File metadata and controls
41 lines (32 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Setup
inputs:
pythonVersion:
type: string
default: 3.9
gudrunTag:
type: string
default: 2024.1
modexTag:
type: string
default: 0.1.5
hdf5tag:
type: string
default: hdf5-1_10_7
runs:
using: "composite"
steps:
- name: Set Environment
shell: bash
run: |
set -ex
echo "pythonVersion=${{ inputs.pythonVersion }}" >> ${GITHUB_ENV}
echo "gudrunTag=${{ inputs.gudrunTag }}" >> ${GITHUB_ENV}
echo "modexTag=${{ inputs.modexTag }}" >> ${GITHUB_ENV}
echo "hdf5tag=${{ inputs.hdf5tag }}" >> ${GITHUB_ENV}
- name: Get GudPy Version
shell: bash
run: |
set -ex
GUDPY_VERSION=$(grep "VERSION =" gudpy.spec | sed "s/.*\"\(.*\)\"/\1/g")
echo "GudPy code version is ${GUDPY_VERSION}"
echo "gudPyVersion=${GUDPY_VERSION}" >> ${GITHUB_ENV}