chore(cleanup): v1.20 is EOL, trim it

This commit is contained in:
Earl Warren 2024-04-25 12:39:48 +02:00
parent 456dab5002
commit e80f12ace9
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
12 changed files with 6 additions and 697 deletions

View file

@ -88,7 +88,7 @@ function actions_runner_version() {
}
function test_actions() {
local versions="${1:-1.20 1.21 $RELEASE_NUMBERS_AND_DEV}"
local versions="${1:-1.21 $RELEASE_NUMBERS_AND_DEV}"
for version in $versions ; do
@ -103,17 +103,11 @@ function test_actions() {
done
fi
for example in echo checkout service container expression local-action docker-action if if-fail ; do
for example in echo checkout service container expression local-action docker-action if if-fail push tag push-cancel artifacts pull-request context ; do
run actions_verify_example $example
done
if dpkg --compare-versions $version gt 1.20 ; then
for example in push tag push-cancel artifacts pull-request context ; do
run actions_verify_example $example
done
fi
if dpkg --compare-versions $version gt 1.20 && dpkg --compare-versions $version lt 7.1 ; then
if dpkg --compare-versions $version lt 7.1 ; then
for example in cron ; do
run actions_verify_example $example
done