forked from MVS-sysgen/sysgen
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (44 loc) · 1.32 KB
/
release.yml
File metadata and controls
54 lines (44 loc) · 1.32 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: MVS/CE Sysgen Release
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
# Sysgen
mvsce-sysgen:
name: MVS 3.8j System Generation Release
runs-on: [ubuntu-latest]
timeout-minutes: 70
container: mainframed767/hyperion:latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Move MVS/CE sysgen
run: |
mkdir -p /mvsce/
mv * /mvsce/
shell: bash
- uses: BSFishy/pip-action@v1
with:
packages: colorama
- name: Get git tag
id: tag
uses: dawidd6/action-get-tag@v1
- name: Running sysgen.py
id: sysgen
working-directory: /mvsce
run: until ./sysgen.py --release --timeout 500 --version ${{steps.tag.outputs.tag}} --CONTINUE; do echo "Failed, rerunning"; done
- name: Printing Debug Log
if: ${{ always() && (steps.sysgen.outcome == 'failure') }}
working-directory: /mvsce
run: cat sysgen.log
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
# automatic_release_tag: ${{ github.event.release.tag_name }}
prerelease: false
title: "MVS/CE Sysgen"
files: |
/mvsce/MVSCE/README.md
/mvsce/MVSCE.release.*.tar