mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-03 03:30:36 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c5814bad44 | ||
|
|
cbd3af1a1b | ||
|
|
af0e3259d2 | ||
|
|
d7346df193 | ||
|
|
c8da22002b | ||
|
|
1c9cdf1902 | ||
|
|
87c08913ae |
1
.github/.cspell/organization-dictionary.txt
vendored
1
.github/.cspell/organization-dictionary.txt
vendored
@@ -46,6 +46,7 @@ emscripten
|
||||
espidf
|
||||
fortanix
|
||||
gnuabi
|
||||
gnuabiv
|
||||
gnueabi
|
||||
gnueabihf
|
||||
gnullvm
|
||||
|
||||
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -180,10 +180,8 @@ jobs:
|
||||
- run: tools/manifest.sh
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: git add -N . && git diff --exit-code
|
||||
if: github.repository_owner != 'taiki-e' || github.event_name != 'schedule' && !(github.event_name == 'push' && github.ref == 'refs/heads/main')
|
||||
- id: diff
|
||||
run: ci/manifest.sh
|
||||
run: tools/ci/manifest.sh
|
||||
if: github.repository_owner == 'taiki-e' && (github.event_name == 'schedule' || github.event_name == 'push' && github.ref == 'refs/heads/main')
|
||||
- uses: peter-evans/create-pull-request@v5
|
||||
with:
|
||||
@@ -193,3 +191,4 @@ jobs:
|
||||
branch: update-manifest
|
||||
token: ${{ secrets.CREATE_PR_TOKEN }}
|
||||
if: github.repository_owner == 'taiki-e' && (github.event_name == 'schedule' || github.event_name == 'push' && github.ref == 'refs/heads/main') && steps.diff.outputs.success == 'false'
|
||||
- run: git add -N . && git diff --exit-code
|
||||
|
||||
12
CHANGELOG.md
12
CHANGELOG.md
@@ -10,6 +10,14 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.12.14] - 2023-07-19
|
||||
|
||||
- Update `cargo-binstall@latest` to 1.1.0.
|
||||
|
||||
## [2.12.13] - 2023-07-18
|
||||
|
||||
- Slightly improve the time taken to install tools distributed as `.zip`.
|
||||
|
||||
## [2.12.12] - 2023-07-17
|
||||
|
||||
- Update `mdbook@latest` to 0.4.32.
|
||||
@@ -945,7 +953,9 @@ Note: This release is considered a breaking change because installing on version
|
||||
|
||||
Initial release
|
||||
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.12.12...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.12.14...HEAD
|
||||
[2.12.14]: https://github.com/taiki-e/install-action/compare/v2.12.13...v2.12.14
|
||||
[2.12.13]: https://github.com/taiki-e/install-action/compare/v2.12.12...v2.12.13
|
||||
[2.12.12]: https://github.com/taiki-e/install-action/compare/v2.12.11...v2.12.12
|
||||
[2.12.11]: https://github.com/taiki-e/install-action/compare/v2.12.10...v2.12.11
|
||||
[2.12.10]: https://github.com/taiki-e/install-action/compare/v2.12.9...v2.12.10
|
||||
|
||||
4
main.sh
4
main.sh
@@ -115,7 +115,7 @@ download_and_extract() {
|
||||
else
|
||||
case "${url}" in
|
||||
*.zip)
|
||||
unzip tmp
|
||||
unzip -q tmp "${bin_in_archive#\./}"
|
||||
mv "${bin_in_archive}" "${bin_dir}/"
|
||||
;;
|
||||
*) mv tmp "${installed_bin}" ;;
|
||||
@@ -470,7 +470,7 @@ for tool in "${tools[@]}"; do
|
||||
(
|
||||
cd "${tmp_dir}"
|
||||
download_and_checksum "${url}" "${checksum}"
|
||||
unzip tmp
|
||||
unzip -q tmp
|
||||
mv "bin/protoc${exe}" "${bin_dir}/"
|
||||
mkdir -p "${include_dir}/"
|
||||
cp -r include/. "${include_dir}/"
|
||||
|
||||
16
manifests/cargo-binstall.json
generated
16
manifests/cargo-binstall.json
generated
@@ -20,26 +20,26 @@
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "1.0.0"
|
||||
"version": "1.1.0"
|
||||
},
|
||||
"1.0.0": {
|
||||
"1.1.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "f28070ac31f970cae5e5fd7ba630566dd2428f85eb699327d164896e76f9dd7b"
|
||||
"checksum": "6ef8a5e5fe8961a6990e10165ac58cc36d89997e6ae73affa3d350322a388d3e"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "638ce20037381b16554892919e1d2b32f9e3ed83eca7a84b227c63f338e6337e"
|
||||
"checksum": "aa146ef1545003dee49a5cf5b42c5407896dbeace41787423e1f2c47e7ec44ce"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "163fb351aa7cf09deae8032a5de7de926e735455a38f6a05ff1c6c6ba6127141"
|
||||
"checksum": "7b360e29d027e3b29fc2ee0b9cab9789174a377b994b04797400688c7c4e8abe"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"checksum": "54358baca731c2a2f6978467a60274915cd0148acd81f6dc73488b9053b454ca"
|
||||
"checksum": "abccd8ed7f7732f10c081d628317f9365e0e8e13c1a7f1a6a964cf083cb596c2"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "cf8408c72fed2dc8543279322746e602b5f4489c4d42446806d6e6b7950a4143"
|
||||
"checksum": "9a6abdb8bbb54a513cff57c379dbae738af54e450979f59b92b2bc82b113baa7"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"checksum": "ce7df1066670259419461ad444fae6881e8cea55e9304d424aff473423ac6428"
|
||||
"checksum": "ede9dc2cf3c98a5b08bbe409ebfbc650ddb5c83551b415d97ef34dda2b3a6634"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
set -euxo pipefail
|
||||
IFS=$'\n\t'
|
||||
cd "$(dirname "$0")"/..
|
||||
cd "$(dirname "$0")"/../..
|
||||
|
||||
bail() {
|
||||
echo >&2 "error: $*"
|
||||
Reference in New Issue
Block a user