Commit graph

14 commits

Author SHA1 Message Date
Tim Schendekehl
516b9e6add
Fix bugzilla 24600 - DMD nightly builds are outdated (#16580)
The artifact names have been changed in
a842215122,
because version 4 of actions/upload-artifact needs unique names.
Also use version 4 of actions/download-artifact and use a pattern instead of a single name.

See also https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
2024-06-11 21:14:06 +02:00
Geod24
dbf86dffbb GH Actions: Update set-output to use the new environment files
The old approach is deprecated.
2022-10-15 01:18:51 +09:00
Geod24
25799d3841 Nightlies: Remove druntime reference 2022-07-11 19:43:55 +02:00
Luís Ferreira
5fa5741ced ci(github): update actions/download-artifact from v2 to v3
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2022-03-30 07:40:22 +08:00
MoonlightSentinel
352ae3b868
Reuse build_release_template for the nightly build
The actions was generalized into a reuseable workflow and transferred
to dlang/installer (see `build_release_template.yml`).
2022-02-12 01:57:38 +01:00
Mathias LANG
a9c2432d27
Nightlies: Use v1 instead of specific tag (#13343) 2021-11-23 20:39:53 +00:00
MoonlightSentinel
76e9205761
Nightlies: Provide ldmd2 as dmd replacement
As some tools (e.g. the book builder) assume an existing dmd installation
2021-11-22 15:03:43 +01:00
MoonlightSentinel
7607ba6bb7
Use process substitution instead of additional pipe segment
Avoids the race condition w.r.t. `head` as outlined in
https://stackoverflow.com/questions/45195700/curious-case-of-failed-pipe
2021-11-22 15:03:35 +01:00
Florian
c92dbb48b8
Nightlies: Update release instead of tagging a new one (#12669)
Re-tagging the nighlty release for every build has two disadvantages:
- each build triggers a github notification
- `git fetch --tags` complains about a modified tag

This patch changes the nightly build s.t. it reuses the existing
release and simply updates the associated assets + description.

This means that the implicit timestamp + revision will be outdated.
Therefore I#ve modified the description to include the revision of
each repo.
2021-06-11 19:49:45 +08:00
MoonlightSentinel
39e19a8f9b Disable Github actions workflows for forks
Don't waste resources for each fork
2021-06-11 17:05:48 +09:00
MoonlightSentinel
065bcea58f
Use $HOME instead of $PWD in the nightly script
The shell script doesn't start in the home directory
2021-05-22 19:37:33 +02:00
Florian
c373b6ab01
Fix path for nightly artifacts (#12549)
The `glob` package used by `action-automatic-releases` doesn't support
tilde expansion yet (see isaacs/node-glob#416).

Use an absolute path extracted from the previous shell step instead.
2021-05-21 21:49:15 +08:00
MoonlightSentinel
2a42762c1a Enable upload of nightly builds to GitHub release
Also fixed a typo (`name` => `title`) to set an appropriate title for
the nightly release.
2021-05-20 19:55:00 +08:00
MoonlightSentinel
9443d84560 Add nightly builds on Github Actions
Creates a new action that generates a new release for all currently
supported targets (linux, osx, windows, freebsd) on merges to master.

The release are generated by using `build_all.d` from installer
2021-05-20 17:59:56 +08:00