← Back to index
|
Original Bugzilla link
Bug 24600 – DMD nightly builds are outdated
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
installer
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2024-06-11T16:34:42Z
Last change time
2024-06-11T20:14:38Z
Keywords
pull
Assigned to
No Owner
Creator
Tim
Comments
Comment #0
by tim.dlang — 2024-06-11T16:34:42Z
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@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@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
Comment #1
by dlang-bot — 2024-06-11T16:38:49Z
@tim-dlang created dlang/dmd pull request #16580 "Fix bugzilla 24600 - DMD nightly builds are outdated" fixing this issue: - Fix bugzilla 24600 - DMD nightly builds are outdated The artifact names have been changed in
https://github.com/dlang/installer/commit/a8422151226d92f22fc2b83ae3713005bbf22f20,
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
https://github.com/dlang/dmd/pull/16580
Comment #2
by dlang-bot — 2024-06-11T16:45:39Z
@tim-dlang created dlang/installer pull request #585 "GHA: Replace deprecated set-output" mentioning this issue: - GHA: Replace deprecated set-output See
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This should fix a warning for the nightly builds in bugzilla issue 24600.
https://github.com/dlang/installer/pull/585
Comment #3
by dlang-bot — 2024-06-11T19:14:13Z
dlang/dmd pull request #16580 "Fix bugzilla 24600 - DMD nightly builds are outdated" was merged into master: - 38861ed700d36476b205999a42e9b5a7b9dad93c by Tim Schendekehl: Fix bugzilla 24600 - DMD nightly builds are outdated The artifact names have been changed in
https://github.com/dlang/installer/commit/a8422151226d92f22fc2b83ae3713005bbf22f20,
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
https://github.com/dlang/dmd/pull/16580
Comment #4
by dlang-bot — 2024-06-11T20:14:38Z
dlang/installer pull request #585 "GHA: Replace deprecated set-output" was merged into master: - 7c9b91079f170e3439aba5ef66e0fa8f811aaa56 by Tim Schendekehl: GHA: Replace deprecated set-output See
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This should fix a warning for the nightly builds in bugzilla issue 24600.
https://github.com/dlang/installer/pull/585