1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2024-09-18 17:36:16 +00:00

version 1.19 is >= 1.19.0-3

This commit is contained in:
Earl Warren 2023-04-05 23:27:33 +02:00
parent 60af48d02b
commit 6a27a460b5
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -28,7 +28,7 @@ function run() {
local image="$1"
local version="$2"
if dpkg --compare-versions "$version" "lt" "1.19.0-3"; then
if test "$version" != "1.19" && dpkg --compare-versions "$version" "lt" "1.19.0-3"; then
actions_unit="actions.actions"
else
actions_unit="repo.actions"