[Issue 24600] New: DMD nightly builds are outdated

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 11 16:34:42 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24600

          Issue ID: 24600
           Summary: DMD nightly builds are outdated
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: installer
          Assignee: nobody at puremagic.com
          Reporter: tim.dlang at t-online.de

The nightly builds published on
https://github.com/dlang/dmd/releases/tag/nightly are from Apr 22, but the
latest build is https://github.com/dlang/dmd/actions/runs/9441078142 from Jun
11. Building DMD was successful and the artifacts can be downloaded from
https://github.com/dlang/dmd/actions/runs/9458046198. Only uploading failed.
>From the GitHub Action log:

2024-06-11T01:40:51.0308869Z Complete job name: Publish artifacts on the
release page
2024-06-11T01:40:51.1418049Z ##[group]Run actions/download-artifact at v3
2024-06-11T01:40:51.1418855Z with:
2024-06-11T01:40:51.1419222Z   name: dmd-release
2024-06-11T01:40:51.1419695Z   path: ~/artifacts/
2024-06-11T01:40:51.1420219Z ##[endgroup]
2024-06-11T01:40:51.2998624Z Starting download for dmd-release
2024-06-11T01:40:51.3585120Z ##[error]Unable to find any artifacts for the
associated workflow

The GitHub Action run page also shows some warnings:

Build nightly from master / Build documentation for all repos
The `set-output` command is deprecated and will be disabled soon. Please
upgrade to using Environment Files. For more information see:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Build nightly from master / Build documentation for all repos
The `set-output` command is deprecated and will be disabled soon. Please
upgrade to using Environment Files. For more information see:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Publish artifacts on the release page
Node.js 16 actions are deprecated. Please update the following actions to use
Node.js 20: actions/download-artifact at v3. For more information see:
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.


Maybe the problem was caused by
https://github.com/dlang/installer/commit/a8422151226d92f22fc2b83ae3713005bbf22f20,
because the artifact name was changed from dmd-release to dmd-release-${{
matrix.os }}. This was necessary, because version 4 of actions/upload-artifact
needs unique names. The download job in
https://github.com/dlang/dmd/blob/master/.github/workflows/nightlies.yml still
uses version 3 und the old name.

See also https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md

--


More information about the Digitalmars-d-bugs mailing list