mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-26 17:10:48 +00:00
Compare commits
28 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32db350e1f | ||
|
|
9523522add | ||
|
|
ea7e5189a7 | ||
|
|
8c265a18db | ||
|
|
3e71e7135d | ||
|
|
48bab733f3 | ||
|
|
3a2f9ffb94 | ||
|
|
996330bfc2 | ||
|
|
2a41d90afe | ||
|
|
effc903d98 | ||
|
|
e923313af7 | ||
|
|
9e24304191 | ||
|
|
3d416278f1 | ||
|
|
9248fb6cf8 | ||
|
|
7e332d45e2 | ||
|
|
32300fcc74 | ||
|
|
67ffa93ba2 | ||
|
|
0256b3ea9a | ||
|
|
b352f98cbf | ||
|
|
a2fe7c939d | ||
|
|
ee4e099341 | ||
|
|
ef2fb5af7d | ||
|
|
91f0a81117 | ||
|
|
30bcc3acc9 | ||
|
|
d577d0b7f7 | ||
|
|
b28eee2bb6 | ||
|
|
05c057d1dd | ||
|
|
7f45cea263 |
1
.github/.cspell/project-dictionary.txt
vendored
1
.github/.cspell/project-dictionary.txt
vendored
@@ -25,6 +25,7 @@ pluginconf
|
|||||||
protoc
|
protoc
|
||||||
pubkey
|
pubkey
|
||||||
pwsh
|
pwsh
|
||||||
|
QQSTRING
|
||||||
quickinstall
|
quickinstall
|
||||||
rclone
|
rclone
|
||||||
rdme
|
rdme
|
||||||
|
|||||||
84
.github/workflows/ci.yml
vendored
84
.github/workflows/ci.yml
vendored
@@ -40,6 +40,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
# NB: Sync list with https://github.com/taiki-e/checkout-action/blob/HEAD/.github/workflows/ci.yml
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-20.04
|
||||||
- os: ubuntu-22.04
|
- os: ubuntu-22.04
|
||||||
- os: ubuntu-24.04
|
- os: ubuntu-24.04
|
||||||
@@ -53,8 +54,11 @@ jobs:
|
|||||||
- os: macos-13
|
- os: macos-13
|
||||||
- os: macos-14
|
- os: macos-14
|
||||||
- os: windows-2019
|
- os: windows-2019
|
||||||
|
- os: windows-2019
|
||||||
|
bash: msys64
|
||||||
|
- os: windows-2019
|
||||||
|
bash: cygwin
|
||||||
- os: windows-2022
|
- os: windows-2022
|
||||||
# https://github.com/taiki-e/install-action/pull/518#issuecomment-2160736760
|
|
||||||
- os: windows-2022
|
- os: windows-2022
|
||||||
bash: msys64
|
bash: msys64
|
||||||
- os: windows-2022
|
- os: windows-2022
|
||||||
@@ -62,30 +66,28 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
|
- run: |
|
||||||
|
printf 'C:\msys64\mingw32\bin\n' >>"${GITHUB_PATH}"
|
||||||
|
printf 'C:\msys64\usr\bin\n' >>"${GITHUB_PATH}"
|
||||||
|
if: matrix.bash == 'msys64'
|
||||||
|
- run: |
|
||||||
|
choco install --no-progress --requirechecksums cygwin
|
||||||
|
printf 'C:\tools\cygwin\bin\n' >>"${GITHUB_PATH}"
|
||||||
|
printf 'C:\tools\cygwin\usr\bin\n' >>"${GITHUB_PATH}"
|
||||||
|
if: matrix.bash == 'cygwin'
|
||||||
- uses: taiki-e/checkout-action@v1
|
- uses: taiki-e/checkout-action@v1
|
||||||
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
|
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
|
||||||
- run: rm Cargo.toml
|
- run: rm Cargo.toml
|
||||||
- name: Generate tool list
|
- name: Generate tool list
|
||||||
id: tool-list
|
id: tool-list
|
||||||
run: tools/ci/tool-list.sh "${{ matrix.tool }}" >>"${GITHUB_OUTPUT}"
|
run: tools/ci/tool-list.sh "${{ matrix.tool }}" >>"${GITHUB_OUTPUT}"
|
||||||
- run: |
|
|
||||||
set -eEuxo pipefail
|
|
||||||
echo "C:\msys64\mingw32\bin" >> $GITHUB_PATH
|
|
||||||
echo "C:\msys64\usr\bin" >> $GITHUB_PATH
|
|
||||||
if: matrix.bash == 'msys64'
|
|
||||||
- run: |
|
|
||||||
set -eEuxo pipefail
|
|
||||||
choco install --no-progress --requirechecksums cygwin
|
|
||||||
echo "C:\tools\cygwin\bin" >> $GITHUB_PATH
|
|
||||||
echo "C:\tools\cygwin\usr\bin" >> $GITHUB_PATH
|
|
||||||
if: matrix.bash == 'cygwin'
|
|
||||||
- run: env
|
- run: env
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
tool: ${{ steps.tool-list.outputs.tool }}
|
tool: ${{ steps.tool-list.outputs.tool }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
|
# Test all shells listed in https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
|
||||||
- name: Test bash
|
- name: Test bash
|
||||||
run: just --version && shfmt --version && protoc --version
|
run: just --version && shfmt --version && protoc --version
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -119,10 +121,14 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
container:
|
container:
|
||||||
|
# NB: Sync list with https://github.com/taiki-e/checkout-action/blob/HEAD/.github/workflows/ci.yml
|
||||||
|
- ubuntu:14.04 # glibc 2.19
|
||||||
|
- ubuntu:16.04 # glibc 2.23
|
||||||
- ubuntu:18.04 # glibc 2.27
|
- ubuntu:18.04 # glibc 2.27
|
||||||
- ubuntu:20.04 # glibc 2.31
|
- ubuntu:20.04 # glibc 2.31
|
||||||
- ubuntu:22.04 # glibc 2.35
|
- ubuntu:22.04 # glibc 2.35
|
||||||
- ubuntu:24.04 # glibc 2.39
|
- ubuntu:24.04 # glibc 2.39
|
||||||
|
- debian:9-slim # glibc 2.24
|
||||||
- debian:10-slim # glibc 2.28
|
- debian:10-slim # glibc 2.28
|
||||||
- debian:11-slim # glibc 2.31
|
- debian:11-slim # glibc 2.31
|
||||||
- debian:12-slim # glibc 2.36
|
- debian:12-slim # glibc 2.36
|
||||||
@@ -131,6 +137,7 @@ jobs:
|
|||||||
- almalinux:8-minimal # glibc 2.28
|
- almalinux:8-minimal # glibc 2.28
|
||||||
- almalinux:9 # glibc 2.34
|
- almalinux:9 # glibc 2.34
|
||||||
- almalinux:9-minimal # glibc 2.34
|
- almalinux:9-minimal # glibc 2.34
|
||||||
|
- centos:6 # glibc 2.12
|
||||||
- centos:7 # glibc 2.17
|
- centos:7 # glibc 2.17
|
||||||
- opensuse/leap:latest # glibc 2.31 (as of leap 15.5)
|
- opensuse/leap:latest # glibc 2.31 (as of leap 15.5)
|
||||||
- opensuse/tumbleweed:latest # glibc 2.39 (as of 2024-04-18)
|
- opensuse/tumbleweed:latest # glibc 2.39 (as of 2024-04-18)
|
||||||
@@ -140,24 +147,63 @@ jobs:
|
|||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
container: ${{ matrix.container }}
|
container: ${{ matrix.container }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install requirements (ubuntu:14.04)
|
||||||
|
run: |
|
||||||
|
set -CeEuxo pipefail
|
||||||
|
# ubuntu 14.04's jq is 1.3
|
||||||
|
# error: syntax error, unexpected QQSTRING_START, expecting $end
|
||||||
|
# https://github.com/jqlang/jq/issues/273
|
||||||
|
apt-get -o Acquire::Retries=10 -qq update
|
||||||
|
apt-get -o Acquire::Retries=10 -o Dpkg::Use-Pty=0 install -y --no-install-recommends ca-certificates curl
|
||||||
|
curl --proto '=https' --tlsv1.2 -fsSL --retry 10 -o /usr/local/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.5/jq-linux64
|
||||||
|
chmod +x /usr/local/bin/jq
|
||||||
|
if: startsWith(matrix.container, 'ubuntu:14.04')
|
||||||
|
- name: Install requirements (debian:9)
|
||||||
|
run: |
|
||||||
|
set -CeEuxo pipefail
|
||||||
|
# In Debian, the old repositories is removed from the main mirrors some time after EoL.
|
||||||
|
sed -i /etc/apt/sources.list -e 's/deb.debian.org/archive.debian.org/g' \
|
||||||
|
-e 's|security.debian.org|archive.debian.org/|g' \
|
||||||
|
-e '/stretch-updates/d'
|
||||||
|
if: startsWith(matrix.container, 'debian:9')
|
||||||
- name: Install requirements (centos)
|
- name: Install requirements (centos)
|
||||||
run: |
|
run: |
|
||||||
set -eEuxo pipefail
|
set -CeEuxo pipefail
|
||||||
|
# In CentOS, the old repositories is removed from the main mirrors just after EoL.
|
||||||
# https://github.com/rust-lang/rust/pull/126352
|
# https://github.com/rust-lang/rust/pull/126352
|
||||||
sed -i /etc/yum.repos.d/*.repo -e 's!^mirrorlist!#mirrorlist!' \
|
sed -i /etc/yum.repos.d/*.repo -e 's!^mirrorlist!#mirrorlist!' \
|
||||||
-e 's!^#baseurl=http://mirror.centos.org/!baseurl=https://vault.centos.org/!'
|
-e 's!^#baseurl=http://mirror.centos.org/!baseurl=https://vault.centos.org/!'
|
||||||
sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
|
sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
|
||||||
|
if [[ "${{ matrix.container }}" == "centos:6" ]]; then
|
||||||
|
# CentOS 6's curl (7.19.7) has no curl has no --proto/--tlsv1.2.
|
||||||
|
yum install -y gcc openssl-devel
|
||||||
|
curl -fsSL --retry 10 https://curl.se/download/curl-7.34.0.tar.gz | tar xzf -
|
||||||
|
cd -- curl-*
|
||||||
|
./configure --prefix=/usr/local --with-ssl
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
# CentOS 6's jq is 1.3
|
||||||
|
# error: syntax error, unexpected QQSTRING_START, expecting $end
|
||||||
|
# https://github.com/jqlang/jq/issues/273
|
||||||
|
curl --proto '=https' --tlsv1.2 -fsSL --retry 10 -o /usr/local/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.5/jq-linux64
|
||||||
|
chmod +x /usr/local/bin/jq
|
||||||
|
# for checkout-action https://github.com/taiki-e/checkout-action/blob/87380fc33ed8e04e325b05d3576995b2253ab5ba/.github/workflows/ci.yml#L134-L142
|
||||||
|
yum install -y openssh-clients perl perl-Error perl-TermReadKey rsync
|
||||||
|
rpm -i \
|
||||||
|
https://vault.ius.io/el6/x86_64/packages/p/perl-Git18-1.8.5.5-4.ius.el6.noarch.rpm \
|
||||||
|
https://vault.ius.io/el6/x86_64/packages/g/git18-1.8.5.5-4.ius.el6.x86_64.rpm
|
||||||
|
fi
|
||||||
if: startsWith(matrix.container, 'centos')
|
if: startsWith(matrix.container, 'centos')
|
||||||
- name: Install requirements (alpine)
|
|
||||||
run: apk --no-cache add bash
|
|
||||||
shell: sh
|
|
||||||
if: startsWith(matrix.container, 'alpine')
|
|
||||||
- uses: taiki-e/checkout-action@v1
|
- uses: taiki-e/checkout-action@v1
|
||||||
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
|
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
|
||||||
- run: rm Cargo.toml
|
- run: rm Cargo.toml
|
||||||
- name: Generate tool list
|
- name: Generate tool list
|
||||||
id: tool-list
|
id: tool-list
|
||||||
run: tools/ci/tool-list.sh >>"${GITHUB_OUTPUT}"
|
run: tools/ci/tool-list.sh >>"${GITHUB_OUTPUT}"
|
||||||
|
# remove bash installed by checkout-action
|
||||||
|
- run: apk --no-cache del bash
|
||||||
|
shell: sh
|
||||||
|
if: startsWith(matrix.container, 'alpine')
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
tool: ${{ steps.tool-list.outputs.tool }}
|
tool: ${{ steps.tool-list.outputs.tool }}
|
||||||
|
|||||||
66
CHANGELOG.md
66
CHANGELOG.md
@@ -10,6 +10,60 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [2.42.2] - 2024-07-18
|
||||||
|
|
||||||
|
- Update `just@latest` to 1.32.0.
|
||||||
|
|
||||||
|
## [2.42.1] - 2024-07-17
|
||||||
|
|
||||||
|
- Update `cargo-make@latest` to 0.37.14.
|
||||||
|
|
||||||
|
## [2.42.0] - 2024-07-15
|
||||||
|
|
||||||
|
- Fix "/etc/os-release: No such file or directory" error on CentOS 6.
|
||||||
|
|
||||||
|
- Improve support for Alpine based containers/self-hosted runners (no longer need to install bash in advance).
|
||||||
|
|
||||||
|
- Improve documentation on platform support.
|
||||||
|
|
||||||
|
## [2.41.18] - 2024-07-15
|
||||||
|
|
||||||
|
- Update `espup@latest` to 0.12.1.
|
||||||
|
|
||||||
|
- Update `cargo-no-dev-deps@latest` to 0.2.13.
|
||||||
|
|
||||||
|
- Update `cargo-minimal-versions@latest` to 0.1.28.
|
||||||
|
|
||||||
|
- Update `cargo-hack@latest` to 0.6.30.
|
||||||
|
|
||||||
|
- Update `just@latest` to 1.31.0.
|
||||||
|
|
||||||
|
## [2.41.17] - 2024-07-12
|
||||||
|
|
||||||
|
- Update `earthly@latest` to 0.8.15.
|
||||||
|
|
||||||
|
## [2.41.16] - 2024-07-12
|
||||||
|
|
||||||
|
- Update `syft@latest` to 1.9.0.
|
||||||
|
|
||||||
|
## [2.41.15] - 2024-07-11
|
||||||
|
|
||||||
|
- Update `dprint@latest` to 0.47.2.
|
||||||
|
|
||||||
|
## [2.41.14] - 2024-07-10
|
||||||
|
|
||||||
|
- Update `typos@latest` to 1.23.2.
|
||||||
|
|
||||||
|
## [2.41.13] - 2024-07-10
|
||||||
|
|
||||||
|
- Update `osv-scanner@latest` to 1.8.2.
|
||||||
|
|
||||||
|
## [2.41.12] - 2024-07-10
|
||||||
|
|
||||||
|
- Update `cargo-zigbuild@latest` to 0.19.1.
|
||||||
|
|
||||||
|
- Update `xh@latest` to 0.22.2.
|
||||||
|
|
||||||
## [2.41.11] - 2024-07-08
|
## [2.41.11] - 2024-07-08
|
||||||
|
|
||||||
- Update `just@latest` to 1.30.1.
|
- Update `just@latest` to 1.30.1.
|
||||||
@@ -2438,7 +2492,17 @@ Note: This release is considered a breaking change because installing on version
|
|||||||
|
|
||||||
Initial release
|
Initial release
|
||||||
|
|
||||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.41.11...HEAD
|
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.42.2...HEAD
|
||||||
|
[2.42.2]: https://github.com/taiki-e/install-action/compare/v2.42.1...v2.42.2
|
||||||
|
[2.42.1]: https://github.com/taiki-e/install-action/compare/v2.42.0...v2.42.1
|
||||||
|
[2.42.0]: https://github.com/taiki-e/install-action/compare/v2.41.18...v2.42.0
|
||||||
|
[2.41.18]: https://github.com/taiki-e/install-action/compare/v2.41.17...v2.41.18
|
||||||
|
[2.41.17]: https://github.com/taiki-e/install-action/compare/v2.41.16...v2.41.17
|
||||||
|
[2.41.16]: https://github.com/taiki-e/install-action/compare/v2.41.15...v2.41.16
|
||||||
|
[2.41.15]: https://github.com/taiki-e/install-action/compare/v2.41.14...v2.41.15
|
||||||
|
[2.41.14]: https://github.com/taiki-e/install-action/compare/v2.41.13...v2.41.14
|
||||||
|
[2.41.13]: https://github.com/taiki-e/install-action/compare/v2.41.12...v2.41.13
|
||||||
|
[2.41.12]: https://github.com/taiki-e/install-action/compare/v2.41.11...v2.41.12
|
||||||
[2.41.11]: https://github.com/taiki-e/install-action/compare/v2.41.10...v2.41.11
|
[2.41.11]: https://github.com/taiki-e/install-action/compare/v2.41.10...v2.41.11
|
||||||
[2.41.10]: https://github.com/taiki-e/install-action/compare/v2.41.9...v2.41.10
|
[2.41.10]: https://github.com/taiki-e/install-action/compare/v2.41.9...v2.41.10
|
||||||
[2.41.9]: https://github.com/taiki-e/install-action/compare/v2.41.8...v2.41.9
|
[2.41.9]: https://github.com/taiki-e/install-action/compare/v2.41.8...v2.41.9
|
||||||
|
|||||||
13
README.md
13
README.md
@@ -110,9 +110,16 @@ See the [Supported tools section](#supported-tools) for how to ensure that fallb
|
|||||||
## Compatibility
|
## Compatibility
|
||||||
|
|
||||||
This action has been tested for GitHub-hosted runners (Ubuntu, macOS, Windows) and containers (Ubuntu, Debian, Fedora, CentOS, Alma, openSUSE, Arch, Alpine).
|
This action has been tested for GitHub-hosted runners (Ubuntu, macOS, Windows) and containers (Ubuntu, Debian, Fedora, CentOS, Alma, openSUSE, Arch, Alpine).
|
||||||
To use this action in self-hosted runners or in containers, at least the following tools are required:
|
|
||||||
|
|
||||||
- bash
|
On Linux, if any required tools are missing, this action will attempt to install them from distro's package manager, so no pre-setup is usually required (except for CentOS or Debian 9 (or older) or very old distro described below, which was already EoL and needs to use vault/archive repos -- see "Install requirements" in [our CI config](https://github.com/taiki-e/install-action/blob/HEAD/.github/workflows/ci.yml) for example of setup).
|
||||||
|
|
||||||
|
On other platforms, at least the following tools are required:
|
||||||
|
|
||||||
|
- bash 3.2+
|
||||||
|
- jq 1.5+
|
||||||
|
- curl 7.34+ (or RHEL7/CentOS7's patched curl 7.29)
|
||||||
|
|
||||||
|
Known environments affected by the above version requirements are CentOS 6 (EoL on 2020-11) using curl 7.19 and jq 1.3, and Ubuntu 14.04 (EoL on 2019-04) using jq 1.3 (see "Install requirements" in [our CI config](https://github.com/taiki-e/install-action/blob/HEAD/.github/workflows/ci.yml) for example of workaround).
|
||||||
|
|
||||||
## Related Projects
|
## Related Projects
|
||||||
|
|
||||||
@@ -120,9 +127,11 @@ To use this action in self-hosted runners or in containers, at least the followi
|
|||||||
- [create-gh-release-action]: GitHub Action for creating GitHub Releases based on changelog.
|
- [create-gh-release-action]: GitHub Action for creating GitHub Releases based on changelog.
|
||||||
- [upload-rust-binary-action]: GitHub Action for building and uploading Rust binary to GitHub Releases.
|
- [upload-rust-binary-action]: GitHub Action for building and uploading Rust binary to GitHub Releases.
|
||||||
- [setup-cross-toolchain-action]: GitHub Action for setup toolchains for cross compilation and cross testing for Rust.
|
- [setup-cross-toolchain-action]: GitHub Action for setup toolchains for cross compilation and cross testing for Rust.
|
||||||
|
- [checkout-action]: GitHub Action for checking out a repository. (Simplified actions/checkout alternative that does not depend on Node.js.)
|
||||||
|
|
||||||
[cache-cargo-install-action]: https://github.com/taiki-e/cache-cargo-install-action
|
[cache-cargo-install-action]: https://github.com/taiki-e/cache-cargo-install-action
|
||||||
[cargo-binstall]: https://github.com/cargo-bins/cargo-binstall
|
[cargo-binstall]: https://github.com/cargo-bins/cargo-binstall
|
||||||
|
[checkout-action]: https://github.com/taiki-e/checkout-action
|
||||||
[create-gh-release-action]: https://github.com/taiki-e/create-gh-release-action
|
[create-gh-release-action]: https://github.com/taiki-e/create-gh-release-action
|
||||||
[setup-cross-toolchain-action]: https://github.com/taiki-e/setup-cross-toolchain-action
|
[setup-cross-toolchain-action]: https://github.com/taiki-e/setup-cross-toolchain-action
|
||||||
[upload-rust-binary-action]: https://github.com/taiki-e/upload-rust-binary-action
|
[upload-rust-binary-action]: https://github.com/taiki-e/upload-rust-binary-action
|
||||||
|
|||||||
23
action.yml
23
action.yml
@@ -21,8 +21,27 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- run: bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
|
- run: |
|
||||||
shell: bash
|
set -eu
|
||||||
|
if ! command -v bash >/dev/null; then
|
||||||
|
if grep -Eq '^ID=alpine' /etc/os-release; then
|
||||||
|
printf '::group::Install packages required for checkout-action (bash)\n'
|
||||||
|
# NB: sync with apk_install in main.sh
|
||||||
|
if command -v sudo >/dev/null; then
|
||||||
|
sudo apk --no-cache add bash
|
||||||
|
elif command -v doas >/dev/null; then
|
||||||
|
doas apk --no-cache add bash
|
||||||
|
else
|
||||||
|
apk --no-cache add bash
|
||||||
|
fi
|
||||||
|
printf '::endgroup::\n'
|
||||||
|
else
|
||||||
|
printf '::error::checkout-action requires bash\n'
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
|
||||||
|
shell: sh
|
||||||
env:
|
env:
|
||||||
INPUT_TOOL: ${{ inputs.tool }}
|
INPUT_TOOL: ${{ inputs.tool }}
|
||||||
INPUT_CHECKSUM: ${{ inputs.checksum }}
|
INPUT_CHECKSUM: ${{ inputs.checksum }}
|
||||||
|
|||||||
26
main.sh
26
main.sh
@@ -455,17 +455,21 @@ case "$(uname -s)" in
|
|||||||
host_env="gnu"
|
host_env="gnu"
|
||||||
host_glibc_version=$(grep <<<"${ldd_version}" -E "GLIBC|GNU libc" | sed "s/.* //g")
|
host_glibc_version=$(grep <<<"${ldd_version}" -E "GLIBC|GNU libc" | sed "s/.* //g")
|
||||||
fi
|
fi
|
||||||
if grep -q '^ID_LIKE=' /etc/os-release; then
|
if [[ -e /etc/os-release ]]; then
|
||||||
base_distro=$(grep '^ID_LIKE=' /etc/os-release | cut -d= -f2)
|
if grep -Eq '^ID_LIKE=' /etc/os-release; then
|
||||||
case "${base_distro}" in
|
base_distro=$(grep -E '^ID_LIKE=' /etc/os-release | cut -d= -f2)
|
||||||
*debian*) base_distro=debian ;;
|
case "${base_distro}" in
|
||||||
*fedora*) base_distro=fedora ;;
|
*debian*) base_distro=debian ;;
|
||||||
*suse*) base_distro=suse ;;
|
*fedora*) base_distro=fedora ;;
|
||||||
*arch*) base_distro=arch ;;
|
*suse*) base_distro=suse ;;
|
||||||
*alpine*) base_distro=alpine ;;
|
*arch*) base_distro=arch ;;
|
||||||
esac
|
*alpine*) base_distro=alpine ;;
|
||||||
else
|
esac
|
||||||
base_distro=$(grep '^ID=' /etc/os-release | cut -d= -f2)
|
else
|
||||||
|
base_distro=$(grep -E '^ID=' /etc/os-release | cut -d= -f2)
|
||||||
|
fi
|
||||||
|
elif [[ -e /etc/redhat-release ]]; then
|
||||||
|
base_distro=fedora
|
||||||
fi
|
fi
|
||||||
case "${base_distro}" in
|
case "${base_distro}" in
|
||||||
fedora)
|
fedora)
|
||||||
|
|||||||
68
manifests/cargo-hack.json
generated
68
manifests/cargo-hack.json
generated
@@ -3,10 +3,74 @@
|
|||||||
"template": null,
|
"template": null,
|
||||||
"license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-hack/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-hack/blob/main/LICENSE-MIT)",
|
"license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-hack/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-hack/blob/main/LICENSE-MIT)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "0.6.28"
|
"version": "0.6.30"
|
||||||
},
|
},
|
||||||
"0.6": {
|
"0.6": {
|
||||||
"version": "0.6.28"
|
"version": "0.6.30"
|
||||||
|
},
|
||||||
|
"0.6.30": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.30/cargo-hack-x86_64-unknown-linux-musl.tar.gz",
|
||||||
|
"etag": "0x8DCA4ABE5CD20E8",
|
||||||
|
"checksum": "11afbe81bc9f8fa4be2e794afcc30e3067328f06c80388f0ac4129ecf577efc0"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.30/cargo-hack-x86_64-apple-darwin.tar.gz",
|
||||||
|
"etag": "0x8DCA4AC10AD8390",
|
||||||
|
"checksum": "f82ba7dfda5229991483b825a52d71e6508798c97a1bd72df1663043dac823fe"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.30/cargo-hack-x86_64-pc-windows-msvc.tar.gz",
|
||||||
|
"etag": "0x8DCA4ABF9E28FEB",
|
||||||
|
"checksum": "95047f9a961fcbb541ec684f82d933702e5aa0a4df06436a3cad2242e759d1be"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.30/cargo-hack-aarch64-unknown-linux-musl.tar.gz",
|
||||||
|
"etag": "0x8DCA4ABD9EC2493",
|
||||||
|
"checksum": "7a53bf67557782cc09d31ae7189517ac1609f34e3d540e34a328a863d1e480a6"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.30/cargo-hack-aarch64-apple-darwin.tar.gz",
|
||||||
|
"etag": "0x8DCA4ABDFA8C145",
|
||||||
|
"checksum": "a8a6ef740f95c72ebe326c482a3cd296aacc21b6968997e9afe41b8cee647b2c"
|
||||||
|
},
|
||||||
|
"aarch64_windows": {
|
||||||
|
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.30/cargo-hack-aarch64-pc-windows-msvc.tar.gz",
|
||||||
|
"etag": "0x8DCA4AC0C4B94EA",
|
||||||
|
"checksum": "15033f23af5b124ba8cdf656bdb1dbbd915387b5af18a7aee7c8e2a875393467"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"0.6.29": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.29/cargo-hack-x86_64-unknown-linux-musl.tar.gz",
|
||||||
|
"etag": "0x8DCA2BE8E46AF95",
|
||||||
|
"checksum": "eab6cb8e3baf77c1c64157c19ff44d650ebf8ecea3f53c701fc7c512bf0367a2"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.29/cargo-hack-x86_64-apple-darwin.tar.gz",
|
||||||
|
"etag": "0x8DCA2BEB6E7DDD2",
|
||||||
|
"checksum": "36645c70d8c8f1f7c071c0d05e0225ef0f940821951f0f3f74f51185e7f5747e"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.29/cargo-hack-x86_64-pc-windows-msvc.tar.gz",
|
||||||
|
"etag": "0x8DCA2BEA91FAF21",
|
||||||
|
"checksum": "d41d67a5a3e5d438e54bbf0707b5b8143e7491d0f1cb6cd67f728051c07c0d74"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.29/cargo-hack-aarch64-unknown-linux-musl.tar.gz",
|
||||||
|
"etag": "0x8DCA2BE9519278C",
|
||||||
|
"checksum": "4215699894e43d6620e4619442a3bc8e6a76dee06980690fd90e09a5e13539a4"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.29/cargo-hack-aarch64-apple-darwin.tar.gz",
|
||||||
|
"etag": "0x8DCA2BE9AD3C973",
|
||||||
|
"checksum": "ee00750378126c7e14402a45c34f95ed1ba4be2ae505b0c0020bb39b5b3467a4"
|
||||||
|
},
|
||||||
|
"aarch64_windows": {
|
||||||
|
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.29/cargo-hack-aarch64-pc-windows-msvc.tar.gz",
|
||||||
|
"etag": "0x8DCA2BEB38D3768",
|
||||||
|
"checksum": "eb60047af7e69b6b12f7c9c53e787a855e16b1812b1cecbbe976b84718a707e9"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"0.6.28": {
|
"0.6.28": {
|
||||||
"x86_64_linux_musl": {
|
"x86_64_linux_musl": {
|
||||||
|
|||||||
22
manifests/cargo-make.json
generated
22
manifests/cargo-make.json
generated
@@ -20,10 +20,28 @@
|
|||||||
},
|
},
|
||||||
"license_markdown": "[Apache-2.0](https://github.com/sagiegurari/cargo-make/blob/master/LICENSE)",
|
"license_markdown": "[Apache-2.0](https://github.com/sagiegurari/cargo-make/blob/master/LICENSE)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "0.37.13"
|
"version": "0.37.14"
|
||||||
},
|
},
|
||||||
"0.37": {
|
"0.37": {
|
||||||
"version": "0.37.13"
|
"version": "0.37.14"
|
||||||
|
},
|
||||||
|
"0.37.14": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"etag": "0x8DCA65506C47194",
|
||||||
|
"checksum": "af6073b9d9056b02c7a41253da1cfe364a8d7ec88190d5f3070ea380ba386c18"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"etag": "0x8DCA654B731BB44",
|
||||||
|
"checksum": "44ea71fa5626915894815db020b7335ab82c1a028f47fde32a13d6ab1607785d"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"etag": "0x8DCA65545FDB74F",
|
||||||
|
"checksum": "50830f4e73b0c9ebd790ff74850cb867043a6a50403f680029124f6be25c9515"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"etag": "0x8DCA65504081757",
|
||||||
|
"checksum": "7fc411106e5bc3e3a54d1b0e1325649f0d7ce81e84aee63a52f407f6a3e84ea0"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"0.37.13": {
|
"0.37.13": {
|
||||||
"x86_64_linux_musl": {
|
"x86_64_linux_musl": {
|
||||||
|
|||||||
30
manifests/cargo-minimal-versions.json
generated
30
manifests/cargo-minimal-versions.json
generated
@@ -22,10 +22,36 @@
|
|||||||
},
|
},
|
||||||
"license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-minimal-versions/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-minimal-versions/blob/main/LICENSE-MIT)",
|
"license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-minimal-versions/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-minimal-versions/blob/main/LICENSE-MIT)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "0.1.27"
|
"version": "0.1.28"
|
||||||
},
|
},
|
||||||
"0.1": {
|
"0.1": {
|
||||||
"version": "0.1.27"
|
"version": "0.1.28"
|
||||||
|
},
|
||||||
|
"0.1.28": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"etag": "0x8DCA4AB763005B5",
|
||||||
|
"checksum": "6452dbafa1c1ef915f90c5b19e6e28b2b4be1f62dfc6d26ca43617d8a1d7d0b7"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"etag": "0x8DCA4AB8C1CEA60",
|
||||||
|
"checksum": "3ec8e7dea371c5d7f464cce6f9fedbb12752b327b8848f3d08c0e32c5ea776cb"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"etag": "0x8DCA4AB92980C78",
|
||||||
|
"checksum": "cb881f3cd453456bddc4feb5a2ba73870d51dc91a84d42efa11382d88a79be55"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"etag": "0x8DCA4AB788A1672",
|
||||||
|
"checksum": "ac90aa1486b1597f78a208376b9c3757403950c7b1983e0ae2f90315a99df624"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"etag": "0x8DCA4AB79C469DC",
|
||||||
|
"checksum": "a4c7530015e6fd275b9bbdfbefbce03bfd5381227a366ccd5a10661662ff7253"
|
||||||
|
},
|
||||||
|
"aarch64_windows": {
|
||||||
|
"etag": "0x8DCA4ABA388F230",
|
||||||
|
"checksum": "ebdb18612729346173d7a465a4b78757c71af91588d196d6621014f1cc50dbf9"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"0.1.27": {
|
"0.1.27": {
|
||||||
"x86_64_linux_musl": {
|
"x86_64_linux_musl": {
|
||||||
|
|||||||
30
manifests/cargo-no-dev-deps.json
generated
30
manifests/cargo-no-dev-deps.json
generated
@@ -22,10 +22,36 @@
|
|||||||
},
|
},
|
||||||
"license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-no-dev-deps/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-no-dev-deps/blob/main/LICENSE-MIT)",
|
"license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-no-dev-deps/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-no-dev-deps/blob/main/LICENSE-MIT)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "0.2.12"
|
"version": "0.2.13"
|
||||||
},
|
},
|
||||||
"0.2": {
|
"0.2": {
|
||||||
"version": "0.2.12"
|
"version": "0.2.13"
|
||||||
|
},
|
||||||
|
"0.2.13": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"etag": "0x8DCA4AB99250DE2",
|
||||||
|
"checksum": "6f86ae1a4e8e3f65b2ec5fa0db3dc84a53ba8be4e32a4621b7fcd4dafe2ec92c"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"etag": "0x8DCA4ABB7BFE7C3",
|
||||||
|
"checksum": "1485ab0b4f01919d1d1573b844edefec58339d44284f7660d44f8e8017ccefc3"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"etag": "0x8DCA4ABB95F417C",
|
||||||
|
"checksum": "ea42905431de648c9258ce37d717c7dde8d2800a724a28f4aa145cf5314babfb"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"etag": "0x8DCA4AB9C703708",
|
||||||
|
"checksum": "9c8d2aa113c20bd655a82b5bd015c6102c9ad9b844543ae7fb78b53fc845a9f9"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"etag": "0x8DCA4ABA7FC22DE",
|
||||||
|
"checksum": "8144d7355de2f251221b8facf06cf0ede56fc52635433d9bde0a7e34ca91c99d"
|
||||||
|
},
|
||||||
|
"aarch64_windows": {
|
||||||
|
"etag": "0x8DCA4ABC18766BA",
|
||||||
|
"checksum": "6b30f537bb9385591c2550908f0731eb385ab2130071a9d9d3ccc2468959655c"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"0.2.12": {
|
"0.2.12": {
|
||||||
"x86_64_linux_musl": {
|
"x86_64_linux_musl": {
|
||||||
|
|||||||
26
manifests/cargo-zigbuild.json
generated
26
manifests/cargo-zigbuild.json
generated
@@ -19,10 +19,32 @@
|
|||||||
},
|
},
|
||||||
"license_markdown": "[MIT](https://github.com/rust-cross/cargo-zigbuild/blob/main/LICENSE)",
|
"license_markdown": "[MIT](https://github.com/rust-cross/cargo-zigbuild/blob/main/LICENSE)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "0.19.0"
|
"version": "0.19.1"
|
||||||
},
|
},
|
||||||
"0.19": {
|
"0.19": {
|
||||||
"version": "0.19.0"
|
"version": "0.19.1"
|
||||||
|
},
|
||||||
|
"0.19.1": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"etag": "0x8DCA02F57E9832F",
|
||||||
|
"checksum": "d90450f3b6cc40294263f09c1b8c04231e6b526f811f506812501de814737888"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"etag": "0x8DCA02FA6F628E7",
|
||||||
|
"checksum": "2e3f5f44d6619e0aab9ad80e9a46d98489f913af90a966386532bb359136ac51"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"etag": "0x8DCA02F301C95E4",
|
||||||
|
"checksum": "149035fc30323cb683aea8f8800983007da27f3de22a1beb12d05e9fefc8ef06"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"etag": "0x8DCA030EA6943FA",
|
||||||
|
"checksum": "e11ca1c260632e10e439f28e8d87453a61fb6b8cd938d24523c4132f85fe3d37"
|
||||||
|
},
|
||||||
|
"aarch64_windows": {
|
||||||
|
"etag": "0x8DCA02FEBAFBE0D",
|
||||||
|
"checksum": "26955ffa45d67751682ece010c640601127f7a4e00711eb251e59c8864a46569"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"0.19.0": {
|
"0.19.0": {
|
||||||
"x86_64_linux_musl": {
|
"x86_64_linux_musl": {
|
||||||
|
|||||||
26
manifests/dprint.json
generated
26
manifests/dprint.json
generated
@@ -25,10 +25,32 @@
|
|||||||
},
|
},
|
||||||
"license_markdown": "[MIT](https://github.com/dprint/dprint/blob/main/LICENSE)",
|
"license_markdown": "[MIT](https://github.com/dprint/dprint/blob/main/LICENSE)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "0.47.1"
|
"version": "0.47.2"
|
||||||
},
|
},
|
||||||
"0.47": {
|
"0.47": {
|
||||||
"version": "0.47.1"
|
"version": "0.47.2"
|
||||||
|
},
|
||||||
|
"0.47.2": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"etag": "0x8DCA14FD6492FAB",
|
||||||
|
"checksum": "c821d938d27f85c4c1e68196faa6fb90e64b9ac6ee7396a018489300569f81d0"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"etag": "0x8DCA14FD65D1679",
|
||||||
|
"checksum": "b174a7bc1ee55413da80b4469a5bcd1d91fdda2b813ac212bc8bbd0df293c448"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"etag": "0x8DCA14FD63AC0FB",
|
||||||
|
"checksum": "20ed46ace9d70dadf564cdee3fdf3d06e44539b05c67387f461062890330c218"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"etag": "0x8DCA14FD6431C01",
|
||||||
|
"checksum": "8bfe2b1bde933333ba9d84ce33af6cf7129c498bd5f3f8f0abf18c3c0bc4cd26"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"etag": "0x8DCA14FD65005CA",
|
||||||
|
"checksum": "d3af3952e4590663282e66413153f20cf7d3f6ac2795990d3652dec8971f68bb"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"0.47.1": {
|
"0.47.1": {
|
||||||
"x86_64_linux_musl": {
|
"x86_64_linux_musl": {
|
||||||
|
|||||||
26
manifests/earthly.json
generated
26
manifests/earthly.json
generated
@@ -19,10 +19,32 @@
|
|||||||
},
|
},
|
||||||
"license_markdown": "[MPL-2.0](https://github.com/earthly/earthly/blob/main/LICENSE)",
|
"license_markdown": "[MPL-2.0](https://github.com/earthly/earthly/blob/main/LICENSE)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "0.8.14"
|
"version": "0.8.15"
|
||||||
},
|
},
|
||||||
"0.8": {
|
"0.8": {
|
||||||
"version": "0.8.14"
|
"version": "0.8.15"
|
||||||
|
},
|
||||||
|
"0.8.15": {
|
||||||
|
"x86_64_linux_gnu": {
|
||||||
|
"etag": "0x8DCA2A154D402F6",
|
||||||
|
"checksum": "2e545a08c17a195ad86d3844df0c3d28064b1231abe05530342138acf3067619"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"etag": "0x8DCA2A1520484EC",
|
||||||
|
"checksum": "6e17da01a10509398da088dfc6005c726019c08077dd296d42d92ed1799ac76f"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"etag": "0x8DCA2A1580F5DF5",
|
||||||
|
"checksum": "c64a84df967f4624202c5cdf1b9f8149ef7ee9e2056ffd84954f0587a0787291"
|
||||||
|
},
|
||||||
|
"aarch64_linux_gnu": {
|
||||||
|
"etag": "0x8DCA2A1566C5F46",
|
||||||
|
"checksum": "cc5ea041c6d7e5d019c8fe37c58c5b7b294f7ce1da0e06569056f41b3413d7bf"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"etag": "0x8DCA2A1536436B9",
|
||||||
|
"checksum": "86c6712f19029f151d3b478bf60906e8731acb2383c5de5e0675fb6a11bd5aaf"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"0.8.14": {
|
"0.8.14": {
|
||||||
"x86_64_linux_gnu": {
|
"x86_64_linux_gnu": {
|
||||||
|
|||||||
26
manifests/espup.json
generated
26
manifests/espup.json
generated
@@ -19,10 +19,32 @@
|
|||||||
},
|
},
|
||||||
"license_markdown": "[MIT](https://github.com/esp-rs/espup/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/esp-rs/espup/blob/main/LICENSE-APACHE)",
|
"license_markdown": "[MIT](https://github.com/esp-rs/espup/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/esp-rs/espup/blob/main/LICENSE-APACHE)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "0.12.0"
|
"version": "0.12.1"
|
||||||
},
|
},
|
||||||
"0.12": {
|
"0.12": {
|
||||||
"version": "0.12.0"
|
"version": "0.12.1"
|
||||||
|
},
|
||||||
|
"0.12.1": {
|
||||||
|
"x86_64_linux_gnu": {
|
||||||
|
"etag": "0x8DCA4A6F21802F9",
|
||||||
|
"checksum": "2cdc7f6e4a80f0fb504e5d86331de8aa96a56ab2866d107bb97e59fcfd43061e"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"etag": "0x8DCA4A69879FE25",
|
||||||
|
"checksum": "e1df3e9327f3d73799f9a83e6f4562c7922edc40bcf873b8263f5b797b84c138"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"etag": "0x8DCA4A6F6ACD509",
|
||||||
|
"checksum": "99d9a872542a1997b644b044e79cdb7b7418e8abad1d4b7ae7d0001fd96d6ca0"
|
||||||
|
},
|
||||||
|
"aarch64_linux_gnu": {
|
||||||
|
"etag": "0x8DCA4A6D1A8AF3B",
|
||||||
|
"checksum": "c7086619b42df3f454c22324f42bea73fd0428783899a2865163925d04dab959"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"etag": "0x8DCA4A691F37B49",
|
||||||
|
"checksum": "204322d6439b085a0bbaf8379cb4d3b6ed64a80154438ae9f3eed5e52bc86f09"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"0.12.0": {
|
"0.12.0": {
|
||||||
"x86_64_linux_gnu": {
|
"x86_64_linux_gnu": {
|
||||||
|
|||||||
54
manifests/just.json
generated
54
manifests/just.json
generated
@@ -19,10 +19,60 @@
|
|||||||
},
|
},
|
||||||
"license_markdown": "[CC0-1.0](https://github.com/casey/just/blob/master/LICENSE)",
|
"license_markdown": "[CC0-1.0](https://github.com/casey/just/blob/master/LICENSE)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "1.30.1"
|
"version": "1.32.0"
|
||||||
},
|
},
|
||||||
"1": {
|
"1": {
|
||||||
"version": "1.30.1"
|
"version": "1.32.0"
|
||||||
|
},
|
||||||
|
"1.32": {
|
||||||
|
"version": "1.32.0"
|
||||||
|
},
|
||||||
|
"1.32.0": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"etag": "0x8DCA6F099C7340C",
|
||||||
|
"checksum": "a678f6b82c6643055899bcc7cc4fb168d9d24bd65833dfd0a6ad5b8e65c25003"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"etag": "0x8DCA6F09A4131EE",
|
||||||
|
"checksum": "665f9c5793844226cf85889e9c6353230dc7a197d6cb32ee001afde41e7281d4"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"etag": "0x8DCA6F0EC5EE08C",
|
||||||
|
"checksum": "aac3f10c2c1fdec2e3496d7a31903c8f07901300a0d5fa81518767a05f8ea8f7"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"etag": "0x8DCA6F0B067C481",
|
||||||
|
"checksum": "3de91367b5ac00bf0da505ed5222be10ebc80cce3074c9073e726c88ac7adbf1"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"etag": "0x8DCA6F09028BAA8",
|
||||||
|
"checksum": "3449462f0284b27c840b8c814be558f8738445e1a2033e540faa25c07b8cf9b4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"1.31": {
|
||||||
|
"version": "1.31.0"
|
||||||
|
},
|
||||||
|
"1.31.0": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"etag": "0x8DCA44C552A1FCD",
|
||||||
|
"checksum": "1d09a207cad8d173c8f31e115cd7b02b07fdfe248f3d8d28e705da46e4ca0e30"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"etag": "0x8DCA44C4D7BFAD7",
|
||||||
|
"checksum": "eb13e5232204ef7f5e9262c31839e96e89b944d4e22e366efdb43413548884d2"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"etag": "0x8DCA44C8F2C8F12",
|
||||||
|
"checksum": "9e926f50bcfe730d48d798dca06a6e1529834bfafde3fb467ea024588e5e6fae"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"etag": "0x8DCA44C5FFFB87C",
|
||||||
|
"checksum": "6865109d742b0edd5f252fbd7385a04f5a73b5e26665ac931be5e73c14ed830f"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"etag": "0x8DCA44C4BA13B11",
|
||||||
|
"checksum": "61c2be540c64800b691038ad204105f19946efabb0c42ba1b61da9eade2f004c"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"1.30": {
|
"1.30": {
|
||||||
"version": "1.30.1"
|
"version": "1.30.1"
|
||||||
|
|||||||
38
manifests/osv-scanner.json
generated
38
manifests/osv-scanner.json
generated
@@ -3,13 +3,45 @@
|
|||||||
"template": null,
|
"template": null,
|
||||||
"license_markdown": "[Apache-2.0](https://github.com/google/osv-scanner/blob/main/LICENSE)",
|
"license_markdown": "[Apache-2.0](https://github.com/google/osv-scanner/blob/main/LICENSE)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "1.8.1"
|
"version": "1.8.2"
|
||||||
},
|
},
|
||||||
"1": {
|
"1": {
|
||||||
"version": "1.8.1"
|
"version": "1.8.2"
|
||||||
},
|
},
|
||||||
"1.8": {
|
"1.8": {
|
||||||
"version": "1.8.1"
|
"version": "1.8.2"
|
||||||
|
},
|
||||||
|
"1.8.2": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"url": "https://github.com/google/osv-scanner/releases/download/v1.8.2/osv-scanner_linux_amd64",
|
||||||
|
"etag": "0x8DCA0A759AE59A6",
|
||||||
|
"checksum": "558dbed2194d05ce00d8f8c27dcb49d763eb9db3bc7e30a1bf9b6b86062ccede"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"url": "https://github.com/google/osv-scanner/releases/download/v1.8.2/osv-scanner_darwin_amd64",
|
||||||
|
"etag": "0x8DCA0A758AC1607",
|
||||||
|
"checksum": "96b91adf585e91b90cdb61cd915de19a7d0dea5406707a313c015200a74ac123"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"url": "https://github.com/google/osv-scanner/releases/download/v1.8.2/osv-scanner_windows_amd64.exe",
|
||||||
|
"etag": "0x8DCA0A758CD0D83",
|
||||||
|
"checksum": "11e4b82d8daf7f5f62111c9d4cc50f5b82318d203e817eb566148d5a4fd51cd0"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"url": "https://github.com/google/osv-scanner/releases/download/v1.8.2/osv-scanner_linux_arm64",
|
||||||
|
"etag": "0x8DCA0A758AD740E",
|
||||||
|
"checksum": "9e72c15c7239d7810f556a97d5a37d4fc9de440404c05393d4ee994e2ccc51f2"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"url": "https://github.com/google/osv-scanner/releases/download/v1.8.2/osv-scanner_darwin_arm64",
|
||||||
|
"etag": "0x8DCA0A759C791A4",
|
||||||
|
"checksum": "217bf0250af18c6838a2bdc497469a02cc420b22a7b22fcf54d53a6246478427"
|
||||||
|
},
|
||||||
|
"aarch64_windows": {
|
||||||
|
"url": "https://github.com/google/osv-scanner/releases/download/v1.8.2/osv-scanner_windows_arm64.exe",
|
||||||
|
"etag": "0x8DCA0A758A8978E",
|
||||||
|
"checksum": "b7ff8a9026950c368c564ad235fbe48d48ae946a69b7004b1356035ae1a3ebea"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"1.8.1": {
|
"1.8.1": {
|
||||||
"x86_64_linux_musl": {
|
"x86_64_linux_musl": {
|
||||||
|
|||||||
29
manifests/syft.json
generated
29
manifests/syft.json
generated
@@ -24,10 +24,35 @@
|
|||||||
},
|
},
|
||||||
"license_markdown": "[Apache-2.0](https://github.com/anchore/syft/blob/main/LICENSE)",
|
"license_markdown": "[Apache-2.0](https://github.com/anchore/syft/blob/main/LICENSE)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "1.8.0"
|
"version": "1.9.0"
|
||||||
},
|
},
|
||||||
"1": {
|
"1": {
|
||||||
"version": "1.8.0"
|
"version": "1.9.0"
|
||||||
|
},
|
||||||
|
"1.9": {
|
||||||
|
"version": "1.9.0"
|
||||||
|
},
|
||||||
|
"1.9.0": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"etag": "0x8DCA1D06DF781BE",
|
||||||
|
"checksum": "4c7db3f86a7cd86997fc37da412ac4c6031bb8d0a319a0b152791e53cd240ac4"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"etag": "0x8DCA1D06E895985",
|
||||||
|
"checksum": "40e372cc3f988f800e11406111ed996ce9ef17e34389fa4341bbac0d94df1016"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"etag": "0x8DCA1D06E73523F",
|
||||||
|
"checksum": "7576fc7a27891a85385b83726555410c7d35f65a7568f84434fcdc73a2356e55"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"etag": "0x8DCA1D06DE9D58E",
|
||||||
|
"checksum": "9183b7f63e413e108854026378173fc2582de24c4ed58865cf8fbe9604213cce"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"etag": "0x8DCA1D06E81C0ED",
|
||||||
|
"checksum": "b39eba9cde55045d221d5731ae832632e3bb936009eb91df4820bcef0a52ee5e"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"1.8": {
|
"1.8": {
|
||||||
"version": "1.8.0"
|
"version": "1.8.0"
|
||||||
|
|||||||
24
manifests/typos.json
generated
24
manifests/typos.json
generated
@@ -16,13 +16,31 @@
|
|||||||
},
|
},
|
||||||
"license_markdown": "[MIT](https://github.com/crate-ci/typos/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/crate-ci/typos/blob/master/LICENSE-APACHE)",
|
"license_markdown": "[MIT](https://github.com/crate-ci/typos/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/crate-ci/typos/blob/master/LICENSE-APACHE)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "1.23.1"
|
"version": "1.23.2"
|
||||||
},
|
},
|
||||||
"1": {
|
"1": {
|
||||||
"version": "1.23.1"
|
"version": "1.23.2"
|
||||||
},
|
},
|
||||||
"1.23": {
|
"1.23": {
|
||||||
"version": "1.23.1"
|
"version": "1.23.2"
|
||||||
|
},
|
||||||
|
"1.23.2": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"etag": "0x8DCA103ACA2D5AC",
|
||||||
|
"checksum": "04fdf6185f379db2ea97603922a7b9b5f5ca6881a1fc0d6b10bb4f4fa7290183"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"etag": "0x8DCA103AD09139C",
|
||||||
|
"checksum": "110ca6250860fcd55a2b818de383d10c74bf6cd5a9d892ae50c93cee5934f263"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"etag": "0x8DCA103F79E33CC",
|
||||||
|
"checksum": "53c09c5c966f1683cde4bc39691da8b138042dc3801c189a0a20a6f4d5ff5f9d"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"etag": "0x8DCA103A26A51D9",
|
||||||
|
"checksum": "90f6bd34337930f1b8ec928f0fcf20b9f25a916a7c39cb9b06f5fc9745c4f98e"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"1.23.1": {
|
"1.23.1": {
|
||||||
"x86_64_linux_musl": {
|
"x86_64_linux_musl": {
|
||||||
|
|||||||
26
manifests/xh.json
generated
26
manifests/xh.json
generated
@@ -24,10 +24,32 @@
|
|||||||
},
|
},
|
||||||
"license_markdown": "[MIT](https://github.com/ducaale/xh/blob/master/LICENSE)",
|
"license_markdown": "[MIT](https://github.com/ducaale/xh/blob/master/LICENSE)",
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "0.22.0"
|
"version": "0.22.2"
|
||||||
},
|
},
|
||||||
"0.22": {
|
"0.22": {
|
||||||
"version": "0.22.0"
|
"version": "0.22.2"
|
||||||
|
},
|
||||||
|
"0.22.2": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"etag": "0x8DC9F9C8C4294B1",
|
||||||
|
"checksum": "4d789ef0b85fb77188d6d101591e8f5a0e3819c08c200eb1aa997492bc932436"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"etag": "0x8DC9F9C9518FBD2",
|
||||||
|
"checksum": "b85929f4b7feb5e46091cf30b034b4f87fe04aed62e0d2a79cb36f14d0ec97ec"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"etag": "0x8DC9F9C9A51E2C4",
|
||||||
|
"checksum": "677ac0932b4ad8db51df5101650a6a50683e23228a0b510684aa1aaa7e1ae686"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"etag": "0x8DC9F9C7B4895E8",
|
||||||
|
"checksum": "ce4ea710d40b89908949e0d08aaface1d13d0813fcf919e70bde79a023cf1155"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"etag": "0x8DC9F9C51AC8364",
|
||||||
|
"checksum": "cea6f77bf7fe9f63eabbb4a9b12543b1141183cbcf616473e5e51304258030fa"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"0.22.0": {
|
"0.22.0": {
|
||||||
"x86_64_linux_musl": {
|
"x86_64_linux_musl": {
|
||||||
|
|||||||
@@ -25,10 +25,13 @@ glibc_pre_2_27_incompat=(
|
|||||||
valgrind
|
valgrind
|
||||||
wasmtime
|
wasmtime
|
||||||
)
|
)
|
||||||
musl_incompat=(
|
glibc_pre_2_17_incompat=(
|
||||||
"${glibc_pre_2_27_incompat[@]}"
|
"${glibc_pre_2_27_incompat[@]}"
|
||||||
deepsource
|
deepsource
|
||||||
)
|
)
|
||||||
|
musl_incompat=(
|
||||||
|
"${glibc_pre_2_17_incompat[@]}"
|
||||||
|
)
|
||||||
|
|
||||||
incompat_tools=()
|
incompat_tools=()
|
||||||
case "${1:-}" in
|
case "${1:-}" in
|
||||||
@@ -50,16 +53,21 @@ case "$(uname -s)" in
|
|||||||
if grep <<<"${ldd_version}" -q 'musl'; then
|
if grep <<<"${ldd_version}" -q 'musl'; then
|
||||||
incompat_tools+=("${musl_incompat[@]}")
|
incompat_tools+=("${musl_incompat[@]}")
|
||||||
else
|
else
|
||||||
host_glibc_version=$(grep <<<"${ldd_version}" -E "GLIBC|GNU libc" | sed "s/.* //g")
|
host_glibc_version=$(grep -E "GLIBC|GNU libc" <<<"${ldd_version}" | sed "s/.* //g")
|
||||||
higher_glibc_version=$(sort <<<"2.34"$'\n'"${host_glibc_version}" -Vu | tail -1)
|
higher_glibc_version=$(sort -Vu <<<"2.34"$'\n'"${host_glibc_version}" | tail -1)
|
||||||
if [[ "${higher_glibc_version}" != "${host_glibc_version}" ]]; then
|
if [[ "${higher_glibc_version}" != "${host_glibc_version}" ]]; then
|
||||||
higher_glibc_version=$(sort <<<"2.31"$'\n'"${host_glibc_version}" -Vu | tail -1)
|
higher_glibc_version=$(sort -Vu <<<"2.31"$'\n'"${host_glibc_version}" | tail -1)
|
||||||
if [[ "${higher_glibc_version}" != "${host_glibc_version}" ]]; then
|
if [[ "${higher_glibc_version}" != "${host_glibc_version}" ]]; then
|
||||||
higher_glibc_version=$(sort <<<"2.27"$'\n'"${host_glibc_version}" -Vu | tail -1)
|
higher_glibc_version=$(sort -Vu <<<"2.27"$'\n'"${host_glibc_version}" | tail -1)
|
||||||
if [[ "${higher_glibc_version}" == "${host_glibc_version}" ]]; then
|
if [[ "${higher_glibc_version}" != "${host_glibc_version}" ]]; then
|
||||||
incompat_tools+=("${glibc_pre_2_31_incompat[@]}")
|
higher_glibc_version=$(sort -Vu <<<"2.17"$'\n'"${host_glibc_version}" | tail -1)
|
||||||
|
if [[ "${higher_glibc_version}" != "${host_glibc_version}" ]]; then
|
||||||
|
incompat_tools+=("${glibc_pre_2_17_incompat[@]}")
|
||||||
|
else
|
||||||
|
incompat_tools+=("${glibc_pre_2_27_incompat[@]}")
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
incompat_tools+=("${glibc_pre_2_27_incompat[@]}")
|
incompat_tools+=("${glibc_pre_2_31_incompat[@]}")
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
incompat_tools+=("${glibc_pre_2_34_incompat[@]}")
|
incompat_tools+=("${glibc_pre_2_34_incompat[@]}")
|
||||||
|
|||||||
@@ -328,6 +328,7 @@ impl StringOrArray {
|
|||||||
/// Does it seem only armv7l+ is supported?
|
/// Does it seem only armv7l+ is supported?
|
||||||
/// https://github.com/actions/runner/blob/v2.315.0/src/Misc/externals.sh#L189
|
/// https://github.com/actions/runner/blob/v2.315.0/src/Misc/externals.sh#L189
|
||||||
/// https://github.com/actions/runner/issues/688
|
/// https://github.com/actions/runner/issues/688
|
||||||
|
// TODO: support musl with dynamic linking like wasmtime 22.0.0+'s musl binaries: https://github.com/bytecodealliance/wasmtime/releases/tag/v22.0.0
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)]
|
||||||
pub enum HostPlatform {
|
pub enum HostPlatform {
|
||||||
|
|||||||
Reference in New Issue
Block a user