Commit graph

11 commits

Author SHA1 Message Date
Fini Jastrow
c78ca635df CI: Fixing the Fix
First checkout the base, then nested stuff...

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-02-29 22:38:09 +01:00
Fini Jastrow
48156a785f CI: Update all actions
[why]
Because we want to use Node 20 etc pp

[how]
Check for breaking changes and update.

Also replace checkout-files by checkout with sparse-checkout; as they
semselves encourage people to do.

action-gh-release has been updated to Node 20 but has not been released
with the change, so we access the latest version directly by hash.

[note]
Of course this is unchecked... what can ge wrong! 😬

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-02-29 11:36:41 +01:00
Fini Jastrow
fc61e44268 CI: Prepare for update casks workflow run [skip ci]
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 16:10:40 +01:00
Fini Jastrow
f64ff337ac CI: Fix casks workflow
[why]
The dowload turns up empty. This is because we specify a glob while we
need to specify a regex.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-05 12:30:06 +02:00
Fini Jastrow
89375a650e CI: Prepare for update casks workflow run [skip ci]
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-05 12:09:20 +02:00
Fini Jastrow
5eebd95456 fetch-archives: Allow to specify a regex
[why]
Now where we have zip and tar.xz archives one might want to just fetch
one specific one. So we need to have a pattern not only for the
beginning of the file name.

[how]
Enable full regexes for the filtering.
For this we need to escape blanks in the pattern/regex, that a user
might specify (./fetch-archive.sh v2.2.2 'Some Font').

[note]
This is already then used for the casks workflow, as that only needs the
zips.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 20:44:08 +02:00
Fini Jastrow
98c1607de6 CI: Prepare for update casks workflow run [skip ci]
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-01 11:02:48 +02:00
Fini Jastrow
bb17fde9af CI: Prepare for update casks workflow run [skip ci]
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-18 13:11:56 +01:00
Fini Jastrow
7f03f6c750 CI: Update actions
[why]
The actions have several warnings.

[how]
Update them all.

For example action-gh-release 0.1.14 runs on node12 which is deprecated.

upload-artifacts 3 also switches to node16 and 3.1.1 removes obsolete
set-output.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-06 10:48:31 +01:00
Fini Jastrow
78ff989392 CI: Create casks not only for HeavyData [skip ci]
[why]
Limited that for faster debugging, forgot to remove.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-12-14 09:51:58 +01:00
Fini Jastrow
762be5b638 CI: Add new workflow to create all casks [skip-ci]
Now we can create the casks of some specific release ('latest' in this
case) at will, based purely on the artifact files and on nothing in the
repo. We do not even need to fetch the repo.

This is still some kind of WIP, because we do not have the secrets and
not even a proper homebrew fork in our organization.

THIS WILL NOT WORK out of the box. Refer to PR #1008 to get instruction
on additional steps needed to make this run.

[note]
Remove cask generation from normal release workflow.
Later on the release workflow has to trigger the cask workflow.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-12-14 09:45:59 +01:00