Skip to content

Commit

Permalink
Update build actions to avoid rate limits on upload artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
josmartin authored Apr 2, 2024
1 parent b52b12f commit a503cb4
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release-all-debian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ name: "release-all-debian"
# ensure all artifacts are up-to-date with security and other patches to these distributions
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'

# Wish I could use a matrix strategy here - tried to and discovered that there are limitations
# The strategy property is not supported in any job that calls a reusable workflow.
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/release-all-ubuntu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2021-2022 The MathWorks, Inc.
---
name: "release-all-ubuntu"

# Build and release all artifacts is either triggered manually or on the first day of the month to
# ensure all artifacts are up-to-date with security and other patches to these distributions
on:
workflow_dispatch:
schedule:
- cron: '0 3 1 * *'

# Wish I could use a matrix strategy here - tried to and discovered that there are limitations
# The strategy property is not supported in any job that calls a reusable workflow.
# from https://docs.github.com/en/actions/using-workflows/reusing-workflows#limitations
jobs:
build-ubuntu-bionic:
uses: ./.github/workflows/build-glibc-and-release.yaml
with:
dist-base: ubuntu
dist-tag: bionic

build-ubuntu-focal:
uses: ./.github/workflows/build-glibc-and-release.yaml
with:
dist-base: ubuntu
dist-tag: focal
20 changes: 20 additions & 0 deletions .github/workflows/release-debian-bullseye.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2021-2022 The MathWorks, Inc.
---
name: "release-debian-bullseye"

# Build and release all artifacts is either triggered manually or on the first day of the month to
# ensure all artifacts are up-to-date with security and other patches to these distributions
on:
workflow_dispatch:
schedule:
- cron: '0 5 1 * *'

# Wish I could use a matrix strategy here - tried to and discovered that there are limitations
# The strategy property is not supported in any job that calls a reusable workflow.
# from https://docs.github.com/en/actions/using-workflows/reusing-workflows#limitations
jobs:
build-debian-bullseye:
uses: ./.github/workflows/build-glibc-and-release.yaml
with:
dist-base: debian
dist-tag: bullseye
20 changes: 20 additions & 0 deletions .github/workflows/release-debian-buster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2021-2022 The MathWorks, Inc.
---
name: "release-debian-buster"

# Build and release all artifacts is either triggered manually or on the first day of the month to
# ensure all artifacts are up-to-date with security and other patches to these distributions
on:
workflow_dispatch:
schedule:
- cron: '0 7 1 * *'

# Wish I could use a matrix strategy here - tried to and discovered that there are limitations
# The strategy property is not supported in any job that calls a reusable workflow.
# from https://docs.github.com/en/actions/using-workflows/reusing-workflows#limitations
jobs:
build-debian-buster:
uses: ./.github/workflows/build-glibc-and-release.yaml
with:
dist-base: debian
dist-tag: buster

0 comments on commit a503cb4

Please sign in to comment.