Skip to content

Commit a503cb4

Browse files
authored
Update build actions to avoid rate limits on upload artifacts
1 parent b52b12f commit a503cb4

File tree

4 files changed

+66
-2
lines changed

4 files changed

+66
-2
lines changed

.github/workflows/release-all-debian.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ name: "release-all-debian"
66
# ensure all artifacts are up-to-date with security and other patches to these distributions
77
on:
88
workflow_dispatch:
9-
schedule:
10-
- cron: '0 0 1 * *'
119

1210
# Wish I could use a matrix strategy here - tried to and discovered that there are limitations
1311
# The strategy property is not supported in any job that calls a reusable workflow.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright 2021-2022 The MathWorks, Inc.
2+
---
3+
name: "release-all-ubuntu"
4+
5+
# Build and release all artifacts is either triggered manually or on the first day of the month to
6+
# ensure all artifacts are up-to-date with security and other patches to these distributions
7+
on:
8+
workflow_dispatch:
9+
schedule:
10+
- cron: '0 3 1 * *'
11+
12+
# Wish I could use a matrix strategy here - tried to and discovered that there are limitations
13+
# The strategy property is not supported in any job that calls a reusable workflow.
14+
# from https://docs.github.com/en/actions/using-workflows/reusing-workflows#limitations
15+
jobs:
16+
build-ubuntu-bionic:
17+
uses: ./.github/workflows/build-glibc-and-release.yaml
18+
with:
19+
dist-base: ubuntu
20+
dist-tag: bionic
21+
22+
build-ubuntu-focal:
23+
uses: ./.github/workflows/build-glibc-and-release.yaml
24+
with:
25+
dist-base: ubuntu
26+
dist-tag: focal
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright 2021-2022 The MathWorks, Inc.
2+
---
3+
name: "release-debian-bullseye"
4+
5+
# Build and release all artifacts is either triggered manually or on the first day of the month to
6+
# ensure all artifacts are up-to-date with security and other patches to these distributions
7+
on:
8+
workflow_dispatch:
9+
schedule:
10+
- cron: '0 5 1 * *'
11+
12+
# Wish I could use a matrix strategy here - tried to and discovered that there are limitations
13+
# The strategy property is not supported in any job that calls a reusable workflow.
14+
# from https://docs.github.com/en/actions/using-workflows/reusing-workflows#limitations
15+
jobs:
16+
build-debian-bullseye:
17+
uses: ./.github/workflows/build-glibc-and-release.yaml
18+
with:
19+
dist-base: debian
20+
dist-tag: bullseye
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright 2021-2022 The MathWorks, Inc.
2+
---
3+
name: "release-debian-buster"
4+
5+
# Build and release all artifacts is either triggered manually or on the first day of the month to
6+
# ensure all artifacts are up-to-date with security and other patches to these distributions
7+
on:
8+
workflow_dispatch:
9+
schedule:
10+
- cron: '0 7 1 * *'
11+
12+
# Wish I could use a matrix strategy here - tried to and discovered that there are limitations
13+
# The strategy property is not supported in any job that calls a reusable workflow.
14+
# from https://docs.github.com/en/actions/using-workflows/reusing-workflows#limitations
15+
jobs:
16+
build-debian-buster:
17+
uses: ./.github/workflows/build-glibc-and-release.yaml
18+
with:
19+
dist-base: debian
20+
dist-tag: buster

0 commit comments

Comments
 (0)