This backports changes already done in master and upgrades to the
currently supported versions of the different actions, most importantly
actions/checkout one.
The previous bug fix fixes updating an existing release, but broke
creating the new ones, which wasn't ideal.
(cherry picked from commit 31720e1ee102b195265203f9e9886929bff0528d)