Skip to content

Commit 12eb977

Browse files
committed
Refactor GitHub Actions to manual build
1 parent 6e0f6e8 commit 12eb977

2 files changed

Lines changed: 54 additions & 35 deletions

File tree

.github/workflows/build_octave.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,28 @@ name: Build Octave Builder container images
33
on:
44
# Allows you to run this workflow manually from the Actions tab
55
workflow_dispatch:
6+
inputs:
7+
version:
8+
description: 'Octave build image version to build'
9+
required: true
10+
default: '11'
11+
type: choice
12+
options:
13+
- '4'
14+
- '5'
15+
- '6'
16+
- '8'
17+
- '9'
18+
- '11'
619

720
jobs:
821
build_octave:
922
runs-on: ubuntu-latest
1023
continue-on-error: true
1124
strategy:
1225
matrix:
13-
version: [4, 5, 6, 8, 9, 11]
26+
include:
27+
- version: ${{ github.event.inputs.version }}
1428
steps:
1529
-
1630
name: Checkout

.github/workflows/octave.yml

Lines changed: 39 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,43 @@ name: Build Octave container images
33
on:
44
# Allows you to run this workflow manually from the Actions tab
55
workflow_dispatch:
6-
# Rebuild container images on every 1st of a month at 02:03
7-
schedule:
8-
- cron: "3 2 1 * *"
6+
inputs:
7+
version:
8+
description: 'Octave build image version to build'
9+
required: true
10+
type: choice
11+
options:
12+
- 4.0.0
13+
- 4.0.1
14+
- 4.0.2
15+
- 4.0.3
16+
- 4.2.0
17+
- 4.2.1
18+
- 4.2.2
19+
- 4.4.0
20+
- 4.4.1
21+
- 5.1.0
22+
- 5.2.0
23+
- 6.1.0
24+
- 6.2.0
25+
- 6.3.0
26+
- 6.4.0
27+
- 7.1.0
28+
- 7.2.0
29+
- 7.3.0
30+
- 8.1.0
31+
- 8.2.0
32+
- 8.3.0
33+
- 8.4.0
34+
- 9.1.0
35+
- 9.2.0
36+
- 9.3.0
37+
- 9.4.0
38+
- 10.1.0
39+
- 10.2.0
40+
- 10.3.0
41+
- 11.1.0
42+
default: '11.1.0'
943

1044
env:
1145
OCTAVE_LATEST: 11.1.0
@@ -17,37 +51,8 @@ jobs:
1751
strategy:
1852
fail-fast: false
1953
matrix:
20-
version:
21-
- 4.0.0
22-
- 4.0.1
23-
- 4.0.2
24-
- 4.0.3
25-
- 4.2.0
26-
- 4.2.1
27-
- 4.2.2
28-
- 4.4.0
29-
- 4.4.1
30-
- 5.1.0
31-
- 5.2.0
32-
- 6.1.0
33-
- 6.2.0
34-
- 6.3.0
35-
- 6.4.0
36-
- 7.1.0
37-
- 7.2.0
38-
- 7.3.0
39-
- 8.1.0
40-
- 8.2.0
41-
- 8.3.0
42-
- 8.4.0
43-
- 9.1.0
44-
- 9.2.0
45-
- 9.3.0
46-
- 9.4.0
47-
- 10.1.0
48-
- 10.2.0
49-
- 10.3.0
50-
- 11.1.0
54+
include:
55+
- version: ${{ github.event.inputs.version }}
5156
steps:
5257
-
5358
name: Checkout

0 commit comments

Comments
 (0)