From ad62bf720bc5dcf8a69ceb1786fb7fd018d24760 Mon Sep 17 00:00:00 2001 From: Alexandr Reshetnikov Date: Wed, 28 Jun 2023 23:19:41 +0400 Subject: [PATCH] remove ::set-output name (#71) re rename checks -> _checks --- .github/workflows/_checks.yml | 2 +- ansible/build_gnu.sh | 2 -- bsdtar/build_mingw.sh | 2 -- bsdtar/build_musl.sh | 2 -- busybox/build_mingw.sh | 2 -- busybox/build_musl.sh | 2 -- far2l/build_glibc-p.sh | 3 --- far2l/build_glibc.sh | 3 --- far2l/build_musl.sh | 3 --- mypy/build_gnu.sh | 1 - mypy/build_msvc.sh | 1 - mypy/build_musl.sh | 1 - openssl/build.sh | 2 -- openssl/build_mingw.sh | 2 -- pcre2grep/build_msvc.sh | 2 -- pcre2grep/build_musl.sh | 2 -- pg_dump/build_mingw.sh | 2 -- pg_dump/build_musl.sh | 2 -- playwright/build_gnu.sh | 1 - playwright/build_msvc.sh | 1 - poetry/build_gnu.sh | 2 -- poetry/build_msvc.sh | 2 -- pylint/build_gnu.sh | 1 - pylint/build_msvc.sh | 1 - python/build_gnu.sh | 2 -- python/build_msvc.sh | 2 -- python/build_musl.sh | 2 -- 27 files changed, 1 insertion(+), 49 deletions(-) diff --git a/.github/workflows/_checks.yml b/.github/workflows/_checks.yml index fe5611ab5..ee4813598 100644 --- a/.github/workflows/_checks.yml +++ b/.github/workflows/_checks.yml @@ -1,4 +1,4 @@ -name: checks +name: _checks on: [pull_request, workflow_dispatch] diff --git a/ansible/build_gnu.sh b/ansible/build_gnu.sh index e70f4a357..17d78c31d 100755 --- a/ansible/build_gnu.sh +++ b/ansible/build_gnu.sh @@ -15,8 +15,6 @@ tool_lint_version="6.17.2" python_self_name="python-3.11.3" self_name="$tool_name-$tool_version" release_version_dirpath="$dp0/release/$self_name" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" mkdir -p "$release_version_dirpath/Scripts/bin" && cd "$dp0/release" diff --git a/bsdtar/build_mingw.sh b/bsdtar/build_mingw.sh index 6f37cd684..a94ea4b4d 100755 --- a/bsdtar/build_mingw.sh +++ b/bsdtar/build_mingw.sh @@ -4,8 +4,6 @@ set -e tool_name="bsdtar.exe" tool_version="3.6.2" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" download_url="https://github.com/libarchive/libarchive/releases/download/v$tool_version/libarchive-$tool_version.tar.gz" echo "::group::prepare sources $download_url" diff --git a/bsdtar/build_musl.sh b/bsdtar/build_musl.sh index 297aacf79..5d2a9e0df 100755 --- a/bsdtar/build_musl.sh +++ b/bsdtar/build_musl.sh @@ -11,8 +11,6 @@ echo "::endgroup::" tool_name="bsdtar" tool_version="3.6.2" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" download_url="https://github.com/libarchive/libarchive/releases/download/v$tool_version/libarchive-$tool_version.tar.gz" echo "::group::prepare sources $download_url" diff --git a/busybox/build_mingw.sh b/busybox/build_mingw.sh index bf8050f8a..e8ce6cd01 100755 --- a/busybox/build_mingw.sh +++ b/busybox/build_mingw.sh @@ -12,8 +12,6 @@ echo "::endgroup::" tool_name="busybox.exe" # version_tests: no_tool_version tool_version="FRP-4784-g5507c8744" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" download_url="https://github.com/rmyorston/busybox-w32/archive/refs/tags/$tool_version.tar.gz" echo "::group::prepare sources $download_url" diff --git a/busybox/build_musl.sh b/busybox/build_musl.sh index 9747acc5f..f70187cd2 100755 --- a/busybox/build_musl.sh +++ b/busybox/build_musl.sh @@ -12,8 +12,6 @@ echo "::endgroup::" tool_name="busybox" # version_tests: no_tool_version tool_version="1.35.0" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" download_url="https://busybox.net/downloads/busybox-$tool_version.tar.bz2" echo "::group::prepare sources $download_url" diff --git a/far2l/build_glibc-p.sh b/far2l/build_glibc-p.sh index 138a6b187..442020f24 100755 --- a/far2l/build_glibc-p.sh +++ b/far2l/build_glibc-p.sh @@ -35,9 +35,6 @@ self_name="$tool_name-$tool_version" self_toolset_name="build-glibc-p" self_url="https://github.com/hemnstill/StandaloneTools/releases/download/$self_name/$self_toolset_name.tar.gz" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" - download_url="https://github.com/elfmz/far2l/archive/v_$tool_version.tar.gz" echo "::group::prepare sources $download_url" diff --git a/far2l/build_glibc.sh b/far2l/build_glibc.sh index 2cc47a32e..7d1acdd15 100755 --- a/far2l/build_glibc.sh +++ b/far2l/build_glibc.sh @@ -35,9 +35,6 @@ self_name="$tool_name-$tool_version" self_toolset_name="build-glibc" self_url="https://github.com/hemnstill/StandaloneTools/releases/download/$self_name/$self_toolset_name.tar.gz" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" - download_url="https://github.com/elfmz/far2l/archive/v_$tool_version.tar.gz" echo "::group::prepare sources $download_url" diff --git a/far2l/build_musl.sh b/far2l/build_musl.sh index 2daf6a5df..dc1105cfb 100755 --- a/far2l/build_musl.sh +++ b/far2l/build_musl.sh @@ -33,9 +33,6 @@ self_name="$tool_name-$tool_version" self_toolset_name="build-musl" self_url="https://github.com/hemnstill/StandaloneTools/releases/download/$self_name/$self_toolset_name.tar.gz" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" - download_url="https://github.com/elfmz/far2l/archive/v_$tool_version.tar.gz" echo "::group::prepare sources $download_url" diff --git a/mypy/build_gnu.sh b/mypy/build_gnu.sh index bfa50e7fe..3387de53a 100755 --- a/mypy/build_gnu.sh +++ b/mypy/build_gnu.sh @@ -9,7 +9,6 @@ tool_name="mypy" tool_version="1.1.1" self_name="python-3.11.1" self_toolset_name="build-gnu" -echo "::set-output name=tool_name::$tool_name" release_version_dirpath="$dp0/release/$tool_name-$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" diff --git a/mypy/build_msvc.sh b/mypy/build_msvc.sh index 665446308..005838716 100755 --- a/mypy/build_msvc.sh +++ b/mypy/build_msvc.sh @@ -6,7 +6,6 @@ tool_name="mypy" tool_version="1.1.1" self_name="python-3.11.1" self_toolset_name="build-msvc" -echo "::set-output name=tool_name::$tool_name" release_version_dirpath="$dp0/release/$tool_name-$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" diff --git a/mypy/build_musl.sh b/mypy/build_musl.sh index d6667b4f5..b44d6d922 100755 --- a/mypy/build_musl.sh +++ b/mypy/build_musl.sh @@ -6,7 +6,6 @@ tool_name="mypy" tool_version="1.1.1" self_name="python-3.11.1" self_toolset_name="build-musl" -echo "::set-output name=tool_name::$tool_name" release_version_dirpath="$dp0/release/$tool_name-$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" diff --git a/openssl/build.sh b/openssl/build.sh index 3b3719bca..228c909e8 100755 --- a/openssl/build.sh +++ b/openssl/build.sh @@ -11,8 +11,6 @@ echo "::endgroup::" tool_name="openssl" tool_version="3.0.1" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" download_url="https://github.com/openssl/openssl/archive/refs/tags/openssl-$tool_version.tar.gz" echo "::group::prepare sources $download_url" diff --git a/openssl/build_mingw.sh b/openssl/build_mingw.sh index 4655299e6..7f739f025 100755 --- a/openssl/build_mingw.sh +++ b/openssl/build_mingw.sh @@ -11,8 +11,6 @@ echo "::endgroup::" tool_name="openssl.exe" tool_version="3.0.1" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" download_url="https://github.com/openssl/openssl/archive/refs/tags/openssl-$tool_version.tar.gz" echo "::group::prepare sources $download_url" diff --git a/pcre2grep/build_msvc.sh b/pcre2grep/build_msvc.sh index 454c23651..fc1ba6ccb 100644 --- a/pcre2grep/build_msvc.sh +++ b/pcre2grep/build_msvc.sh @@ -4,8 +4,6 @@ set -e tool_name="pcre2grep.exe" tool_version="10.40" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" download_url="https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$tool_version/pcre2-$tool_version.tar.gz" echo "::group::prepare sources $download_url" diff --git a/pcre2grep/build_musl.sh b/pcre2grep/build_musl.sh index 6151839dc..3993fa43c 100755 --- a/pcre2grep/build_musl.sh +++ b/pcre2grep/build_musl.sh @@ -11,8 +11,6 @@ echo "::endgroup::" tool_name="pcre2grep" tool_version="10.40" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" download_url="https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$tool_version/pcre2-$tool_version.tar.gz" echo "::group::prepare sources $download_url" diff --git a/pg_dump/build_mingw.sh b/pg_dump/build_mingw.sh index 13549fd07..4a0b396bf 100755 --- a/pg_dump/build_mingw.sh +++ b/pg_dump/build_mingw.sh @@ -12,8 +12,6 @@ echo "::endgroup::" tool_name="pg_dump.exe" # version_tests: no_tool_version tool_version="REL_15_1" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" download_url="https://github.com/postgres/postgres/archive/refs/tags/$tool_version.tar.gz" echo "::group::prepare sources $download_url" diff --git a/pg_dump/build_musl.sh b/pg_dump/build_musl.sh index 8002662bf..0dc089393 100755 --- a/pg_dump/build_musl.sh +++ b/pg_dump/build_musl.sh @@ -12,8 +12,6 @@ echo "::endgroup::" tool_name="pg_dump" # version_tests: no_tool_version tool_version="REL_15_1" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" download_url="https://github.com/postgres/postgres/archive/refs/tags/$tool_version.tar.gz" echo "::group::prepare sources $download_url" diff --git a/playwright/build_gnu.sh b/playwright/build_gnu.sh index a34c62926..0df9d8cef 100755 --- a/playwright/build_gnu.sh +++ b/playwright/build_gnu.sh @@ -5,7 +5,6 @@ set -e tool_name="playwright" tool_version="1.35.0" self_name="python-3.10.5" -echo "::set-output name=tool_name::$tool_name" apt update apt install -y wget diff --git a/playwright/build_msvc.sh b/playwright/build_msvc.sh index 292c26b47..764679e8c 100755 --- a/playwright/build_msvc.sh +++ b/playwright/build_msvc.sh @@ -5,7 +5,6 @@ set -e tool_name="playwright" tool_version="1.35.0" self_name="python-3.10.5" -echo "::set-output name=tool_name::$tool_name" release_version_dirpath="$dp0/release/$tool_name-$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" diff --git a/poetry/build_gnu.sh b/poetry/build_gnu.sh index acf61a654..e9c9c9a14 100755 --- a/poetry/build_gnu.sh +++ b/poetry/build_gnu.sh @@ -12,8 +12,6 @@ python_release_date="20230507" self_name="$tool_name-$tool_version" self_toolset_name="build-gnu" release_version_dirpath="$dp0/release/$self_name" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" diff --git a/poetry/build_msvc.sh b/poetry/build_msvc.sh index f276bf8c2..b735ce1f5 100755 --- a/poetry/build_msvc.sh +++ b/poetry/build_msvc.sh @@ -8,8 +8,6 @@ python_self_name="python-3.11.3" self_name="$tool_name-$tool_version" self_toolset_name="build-msvc" release_version_dirpath="$dp0/release/$self_name" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" diff --git a/pylint/build_gnu.sh b/pylint/build_gnu.sh index 1ebaa6fda..5fc6b0384 100755 --- a/pylint/build_gnu.sh +++ b/pylint/build_gnu.sh @@ -9,7 +9,6 @@ tool_name="pylint" tool_version="2.17.0" self_name="python-3.11.1" self_toolset_name="build-gnu" -echo "::set-output name=tool_name::$tool_name" release_version_dirpath="$dp0/release/$tool_name-$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" diff --git a/pylint/build_msvc.sh b/pylint/build_msvc.sh index 5c865be01..4ba9860d3 100755 --- a/pylint/build_msvc.sh +++ b/pylint/build_msvc.sh @@ -6,7 +6,6 @@ tool_name="pylint" tool_version="2.17.0" self_name="python-3.11.1" self_toolset_name="build-msvc" -echo "::set-output name=tool_name::$tool_name" release_version_dirpath="$dp0/release/$tool_name-$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" diff --git a/python/build_gnu.sh b/python/build_gnu.sh index d537b2d27..89e196869 100755 --- a/python/build_gnu.sh +++ b/python/build_gnu.sh @@ -13,8 +13,6 @@ tool_version="3.10.5" release_date="20220630" self_name="$tool_name-$tool_version" release_version_dirpath="$dp0/release/$self_name" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" download_url="https://github.com/indygreg/python-build-standalone/releases/download/$release_date/cpython-$tool_version+$release_date-x86_64-unknown-linux-gnu-pgo-full.tar.zst" diff --git a/python/build_msvc.sh b/python/build_msvc.sh index 6a7ebdcaa..39cde8386 100755 --- a/python/build_msvc.sh +++ b/python/build_msvc.sh @@ -7,8 +7,6 @@ tool_version="3.10.5" release_date="20220630" self_name="$tool_name-$tool_version" release_version_dirpath="$dp0/release/$self_name" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" download_url="https://github.com/indygreg/python-build-standalone/releases/download/$release_date/cpython-$tool_version+$release_date-x86_64-pc-windows-msvc-shared-pgo-full.tar.zst" diff --git a/python/build_musl.sh b/python/build_musl.sh index 263a4002c..ff4dcd30d 100755 --- a/python/build_musl.sh +++ b/python/build_musl.sh @@ -10,8 +10,6 @@ tool_version="3.10.5" release_date="20220630" self_name="$tool_name-$tool_version" release_version_dirpath="$dp0/release/$self_name" -echo "::set-output name=tool_name::$tool_name" -echo "::set-output name=tool_version::$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" download_url="https://github.com/indygreg/python-build-standalone/releases/download/$release_date/cpython-$tool_version+$release_date-x86_64-unknown-linux-musl-noopt-full.tar.zst"