1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 16:12:19 +08:00
Commit Graph

33 Commits

Author SHA1 Message Date
Dan Balasescu
135b85a55a
Improve diffcalc workflow with explicit wait + logs 2024-10-17 13:44:00 +09:00
Dan Balasescu
9681e3ac46
Overwrite downloaded data packages
In https://github.com/ppy/osu/actions/runs/11311858931/job/31458581002, I cancelled the run during the download from `data.ppy.sh`.

In https://github.com/ppy/osu/actions/runs/11313128285/job/31461534857, `wget` skipped downloading the file due to the `-nc` option (no-clobber), i.e.: if the file exists, don't re-download.

The only way I'm aware of to resolve this with wget is to either use `-c` (continue), which may lead to broken files, or to explicitly specify the output file via `-O`. Thought I'd clean up a few pieces in the process.

Why not curl? Mostly historical - some distros don't come with curl. It may be okay now but there's probably no point changing this at the moment...
2024-10-13 18:43:02 +09:00
Dan Balasescu
639caf167d
Save master state in workflow 2024-10-07 18:52:13 +09:00
Dan Balasescu
c7f2564c0a
Make diffcalc workflow recreate comment on completion 2024-10-07 15:50:59 +09:00
Dan Balasescu
9375f79879
Add frenzibyte to users that can use diffcalc workflow 2024-07-08 13:58:42 +09:00
Dan Balasescu
cbbb46cad8
Update action versions in diffcalc workflow 2024-03-29 00:25:32 +09:00
Dan Balasescu
4490dbf896
Update diffcalc workflow 2024-03-27 13:37:47 +09:00
Bartłomiej Dach
99bbbf810b
Update github actions to resolve most node deprecation warnings
As is github tradition, workflows started yelling about running on a
node version that was getting sunset, so here we go again.

Relevant bumps:

- https://github.com/actions/checkout/releases/tag/v4.0.0
- https://github.com/actions/setup-dotnet/releases/tag/v4.0.0
- https://github.com/actions/cache/releases/tag/v4.0.0
- https://github.com/actions/setup-java/releases/tag/v4.0.0
- https://github.com/peter-evans/create-pull-request/releases/tag/v6.0.0
- https://github.com/dorny/test-reporter/releases/tag/v1.8.0

Notably, `actions/upload-artifact` is _not_ bumped to v4, although it
should be to resolve the node deprecation warnings, because it has more
breaking changes and bumping would break `dorny/test-reporter`
(see https://github.com/dorny/test-reporter/issues/363).
2024-02-22 17:18:10 +01:00
Dan Balasescu
979bbf0d81
Wrap echo in double quotes 2023-11-28 22:12:23 +09:00
Dan Balasescu
93ff82bc80
Attempt to support quotes in handling of GH comment body 2023-11-10 14:52:20 +09:00
Dan Balasescu
3c3b0a15a6
Only run cleanup if directory was created 2023-10-20 18:58:32 +09:00
Dan Balasescu
6c61894514
Cleanup in a step 2023-10-20 11:35:31 +09:00
Dan Balasescu
e3bbf29333
Add cleanup step 2023-10-20 11:34:08 +09:00
Dan Balasescu
6cf0cbf3a9
Remove repo checkout step 2023-10-20 11:32:11 +09:00
Dan Balasescu
634323e71e
Fix wrong variable 2023-10-20 11:24:16 +09:00
Dan Balasescu
d73650331d
Isolate diffcalc workflow runs 2023-10-20 09:44:10 +09:00
Dan Balasescu
832ba861bb
Fix incorrect PR url in diffcalc workflow 2023-10-19 15:19:51 +09:00
Dan Balasescu
14cadd1eeb
Pin third-party actions 2023-10-19 02:39:34 +09:00
Dan Balasescu
4946b437c9
Run timeout job on self-hosted runner 2023-10-17 21:01:23 +09:00
Dan Balasescu
566b09ff20
Delete comment on cancellation
- Add always() pre-condition to force evaluation.

- Message is set as it's required by the action for a non-error status code.
2023-10-17 20:51:28 +09:00
Dan Balasescu
08845ec1c6
Use action for GHA diffcalc workflow permissions check 2023-10-17 20:28:04 +09:00
Dan Balasescu
2e0ca45773 Remove duplicated usage instructions 2023-10-05 14:09:58 +09:00
Dan Balasescu
bca257eeda Add description 2023-10-05 13:32:20 +09:00
Dan Balasescu
9f350ce13c Add new difficulty calculation github action 2023-10-05 13:20:07 +09:00
Mohammed Keyvanzadeh
433f9e5367
fixup! revert formatting changes 2023-03-27 18:37:01 +03:30
Mohammed Keyvanzadeh
3d032d0024
github: update workflows and make tweaks
- Update the GitHub Actions workflows to their latest versions.
- Replace the usage of the deprecated `set-output` command with the
new recommended way to set the output.
- Format the YAML files.
2023-03-27 18:10:32 +03:30
Dean Herbert
4f00a9e165
Adjust max runtime for diffcalc runs 2021-10-03 22:32:46 +09:00
Dean Herbert
29d69b2b83 Remove extra $ 2021-09-22 01:29:56 +09:00
Dean Herbert
d22fcc14fc Also grab correct repository path 2021-09-22 01:28:17 +09:00
Dean Herbert
77660d9048 Update diffcalc action to checkout the correct upstream branch 2021-09-22 01:13:47 +09:00
Dean Herbert
5c7fe5dde0 Retarget master repos in diffcalc CI runs 2021-09-21 18:47:09 +09:00
Dean Herbert
ea624489ca Remove continue-on-error 2021-09-21 12:48:10 +09:00
Dean Herbert
a694d482ed Rename file 2021-09-21 12:41:25 +09:00