mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-28 10:00:26 +00:00
Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67aa8bcf8a | ||
|
|
1bb76441d3 | ||
|
|
8c919c2041 | ||
|
|
6dec0fcd4c | ||
|
|
ef14bb365d | ||
|
|
d3afca2ffc | ||
|
|
11d418d698 | ||
|
|
93edea8666 | ||
|
|
af5165ce25 | ||
|
|
2a60fd3151 | ||
|
|
0c4592b32a | ||
|
|
005d3ec234 | ||
|
|
5d8239931a | ||
|
|
43e49c2430 | ||
|
|
70715d2909 |
@@ -1 +1,5 @@
|
|||||||
|
# Clippy configuration
|
||||||
|
# https://doc.rust-lang.org/nightly/clippy/lint_configuration.html
|
||||||
|
|
||||||
avoid-breaking-exported-api = false
|
avoid-breaking-exported-api = false
|
||||||
|
disallowed-names = []
|
||||||
|
|||||||
31
CHANGELOG.md
31
CHANGELOG.md
@@ -10,6 +10,30 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [2.5.2] - 2023-02-27
|
||||||
|
|
||||||
|
- Update `cargo-tarpaulin@latest` to 0.25.1.
|
||||||
|
|
||||||
|
## [2.5.1] - 2023-02-25
|
||||||
|
|
||||||
|
- Update `zola@latest` to 0.17.1.
|
||||||
|
|
||||||
|
## [2.5.0] - 2023-02-23
|
||||||
|
|
||||||
|
- Update `cargo-llvm-cov@latest` to 0.5.10.
|
||||||
|
|
||||||
|
- Switch to composite action. ([#58](https://github.com/taiki-e/install-action/pull/58))
|
||||||
|
|
||||||
|
## [2.4.4] - 2023-02-21
|
||||||
|
|
||||||
|
- Update `wasmtime@latest` to 6.0.0.
|
||||||
|
|
||||||
|
## [2.4.3] - 2023-02-17
|
||||||
|
|
||||||
|
- Update `zola@latest` to 0.17.0.
|
||||||
|
|
||||||
|
- Update `protoc@latest` to 3.22.0.
|
||||||
|
|
||||||
## [2.4.2] - 2023-02-14
|
## [2.4.2] - 2023-02-14
|
||||||
|
|
||||||
- Update `mdbook@latest` to 0.4.27.
|
- Update `mdbook@latest` to 0.4.27.
|
||||||
@@ -621,7 +645,12 @@ 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.4.2...HEAD
|
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.5.2...HEAD
|
||||||
|
[2.5.2]: https://github.com/taiki-e/install-action/compare/v2.5.1...v2.5.2
|
||||||
|
[2.5.1]: https://github.com/taiki-e/install-action/compare/v2.5.0...v2.5.1
|
||||||
|
[2.5.0]: https://github.com/taiki-e/install-action/compare/v2.4.4...v2.5.0
|
||||||
|
[2.4.4]: https://github.com/taiki-e/install-action/compare/v2.4.3...v2.4.4
|
||||||
|
[2.4.3]: https://github.com/taiki-e/install-action/compare/v2.4.2...v2.4.3
|
||||||
[2.4.2]: https://github.com/taiki-e/install-action/compare/v2.4.1...v2.4.2
|
[2.4.2]: https://github.com/taiki-e/install-action/compare/v2.4.1...v2.4.2
|
||||||
[2.4.1]: https://github.com/taiki-e/install-action/compare/v2.4.0...v2.4.1
|
[2.4.1]: https://github.com/taiki-e/install-action/compare/v2.4.0...v2.4.1
|
||||||
[2.4.0]: https://github.com/taiki-e/install-action/compare/v2.3.5...v2.4.0
|
[2.4.0]: https://github.com/taiki-e/install-action/compare/v2.3.5...v2.4.0
|
||||||
|
|||||||
12
action.yml
12
action.yml
@@ -11,6 +11,14 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
default: 'true'
|
default: 'true'
|
||||||
|
|
||||||
|
# Note:
|
||||||
|
# - inputs.* should be manually mapped to INPUT_* due to https://github.com/actions/runner/issues/665
|
||||||
|
# - Use GITHUB_*/RUNNER_* instead of github.*/runner.* due to https://github.com/actions/runner/issues/2185
|
||||||
runs:
|
runs:
|
||||||
using: node16
|
using: composite
|
||||||
main: main.js
|
steps:
|
||||||
|
- run: bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
INPUT_TOOL: ${{ inputs.tool }}
|
||||||
|
INPUT_CHECKSUM: ${{ inputs.checksum }}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
cd "$(dirname "$0")"/..
|
cd "$(dirname "$0")"/..
|
||||||
|
|||||||
28
main.js
28
main.js
@@ -1,28 +0,0 @@
|
|||||||
// This is a script that just calls the bash script that does the main
|
|
||||||
// processing of the action. It works like a composite action that calls
|
|
||||||
// a single bash script.
|
|
||||||
//
|
|
||||||
// This was originally a trick adopted to make bash script-based actions work
|
|
||||||
// without docker before composite actions were supported. However, due to
|
|
||||||
// various problems with composite actions, this trick is still needed:
|
|
||||||
// - https://github.com/actions/runner/issues/665
|
|
||||||
// - https://github.com/actions/runner/issues/2185
|
|
||||||
// Although there are ways to work around these like cache-cargo-install-action does:
|
|
||||||
// https://github.com/taiki-e/cache-cargo-install-action/blob/v1.0.1/action.yml#L9-L11
|
|
||||||
|
|
||||||
const { execFileSync } = require('child_process');
|
|
||||||
|
|
||||||
function main() {
|
|
||||||
try {
|
|
||||||
execFileSync(
|
|
||||||
'bash',
|
|
||||||
['--noprofile', '--norc', `${__dirname}/main.sh`],
|
|
||||||
{ stdio: 'inherit' }
|
|
||||||
);
|
|
||||||
} catch (e) {
|
|
||||||
console.log(`::error::${e.message}`);
|
|
||||||
process.exit(1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
main();
|
|
||||||
2
main.sh
2
main.sh
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
|
|
||||||
|
|||||||
21
manifests/cargo-llvm-cov.json
generated
21
manifests/cargo-llvm-cov.json
generated
@@ -17,10 +17,27 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "0.5.9"
|
"version": "0.5.10"
|
||||||
},
|
},
|
||||||
"0.5": {
|
"0.5": {
|
||||||
"version": "0.5.9"
|
"version": "0.5.10"
|
||||||
|
},
|
||||||
|
"0.5.10": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"checksum": "6ff31ac54aacc133c8d462c99b353dc31924aa9d0bc088ffdd8caa8cc7a14be4"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"checksum": "a0924478bfd7a62711d8e9186470dfbb2a00ed22dba704bcd98f65dc41fd5ec7"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"checksum": "3504347f7bdde8fa7c73e938c3cbce5397418799f9125ee3729e7168e387e5c0"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"checksum": "c395bb8834c779b1bb5a2e0d8302eeec1ef389ee980b47b21f4573181c769786"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"checksum": "3935ac3f3e4af883f698d5e41dae9b3d248ce0a606b0520b739d5e967d78a10e"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"0.5.9": {
|
"0.5.9": {
|
||||||
"x86_64_linux_musl": {
|
"x86_64_linux_musl": {
|
||||||
|
|||||||
21
manifests/cargo-tarpaulin.json
generated
21
manifests/cargo-tarpaulin.json
generated
@@ -17,10 +17,27 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "0.25.0"
|
"version": "0.25.1"
|
||||||
},
|
},
|
||||||
"0.25": {
|
"0.25": {
|
||||||
"version": "0.25.0"
|
"version": "0.25.1"
|
||||||
|
},
|
||||||
|
"0.25.1": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"checksum": "3af89e49bb98caf0ce01f87bbe4493dd4219e0e47aa577149fb3d9046b39965a"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"checksum": "8db642f0bcc15e1ad76794addd4e82911b79c7721dbd01f6113aab6636a36d41"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"checksum": "a82851fd9bb3520acfd33073b6a01363f80fb8fdcf5bb5334e288894d939d5b4"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"checksum": "87cd75d72a83009cb042e5a844f265e455ff8525dc77c0806a52a824702ba259"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"checksum": "cf45f5f58432aaf861a7ea051e01d9f9f08d1548bcab331f3eeea29d0f82f060"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"0.25.0": {
|
"0.25.0": {
|
||||||
"x86_64_linux_musl": {
|
"x86_64_linux_musl": {
|
||||||
|
|||||||
29
manifests/protoc.json
generated
29
manifests/protoc.json
generated
@@ -1,10 +1,35 @@
|
|||||||
{
|
{
|
||||||
"template": null,
|
"template": null,
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "3.21.12"
|
"version": "3.22.0"
|
||||||
},
|
},
|
||||||
"3": {
|
"3": {
|
||||||
"version": "3.21.12"
|
"version": "3.22.0"
|
||||||
|
},
|
||||||
|
"3.22": {
|
||||||
|
"version": "3.22.0"
|
||||||
|
},
|
||||||
|
"3.22.0": {
|
||||||
|
"x86_64_linux_gnu": {
|
||||||
|
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-linux-x86_64.zip",
|
||||||
|
"checksum": "9ceff6c3945d521d1d0f42f9f57f6ef7cf3f581a9d303a027ba19b192045d1a2"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-osx-x86_64.zip",
|
||||||
|
"checksum": "1e0ad38fcf20a4b1cdeffe40f9188c4d1c30a9dd515cf92c8b57f629227f0eb3"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-win64.zip",
|
||||||
|
"checksum": "dd2a24c091f684ce9589fc76f9b5ed55dffdc0e0733bde20112f32b00771dbdb"
|
||||||
|
},
|
||||||
|
"aarch64_linux_gnu": {
|
||||||
|
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-linux-aarch_64.zip",
|
||||||
|
"checksum": "af403bd3009132b418b364e9df29cdbecff5f6ab560c392d48e9944f708d7778"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-osx-aarch_64.zip",
|
||||||
|
"checksum": "834f35b26082ff2dc372df17cae4a4b7cded944756f1c99bac8c624214b542cc"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"3.21": {
|
"3.21": {
|
||||||
"version": "3.21.12"
|
"version": "3.21.12"
|
||||||
|
|||||||
25
manifests/wasmtime.json
generated
25
manifests/wasmtime.json
generated
@@ -22,7 +22,30 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "5.0.0"
|
"version": "6.0.0"
|
||||||
|
},
|
||||||
|
"6": {
|
||||||
|
"version": "6.0.0"
|
||||||
|
},
|
||||||
|
"6.0": {
|
||||||
|
"version": "6.0.0"
|
||||||
|
},
|
||||||
|
"6.0.0": {
|
||||||
|
"x86_64_linux_gnu": {
|
||||||
|
"checksum": "19090d9f0b6320d69908c3a9d3915c1b8149555d971061eda462edc0e212e0d3"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"checksum": "c5a817ed5b3e31301a74011459a8a4b887265fcaf32106f7455d1be44419b305"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"checksum": "43ca5c47c396fbf1edbf6de06841be0be296b11d17e5753cb1266bd3c5653f28"
|
||||||
|
},
|
||||||
|
"aarch64_linux_gnu": {
|
||||||
|
"checksum": "465156922e11e423730f2884d3c5ecf781a27098d58c7b6b4388d739d30bb7f3"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"checksum": "f6c128aaea4aa7a1bb74d1d3eb00a82ea083208419345176af22afb9634ec7ae"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"5": {
|
"5": {
|
||||||
"version": "5.0.0"
|
"version": "5.0.0"
|
||||||
|
|||||||
27
manifests/zola.json
generated
27
manifests/zola.json
generated
@@ -11,7 +11,32 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "0.16.1"
|
"version": "0.17.1"
|
||||||
|
},
|
||||||
|
"0.17": {
|
||||||
|
"version": "0.17.1"
|
||||||
|
},
|
||||||
|
"0.17.1": {
|
||||||
|
"x86_64_linux_gnu": {
|
||||||
|
"checksum": "f1ddbe0c1b0672da6eeb959eeb3f311b915ecc18719963934bcbc0c62783b711"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"checksum": "96eb9ce229bdfb34cdcc05f540c965e0ad4104a253729bb6e3d2b7b3a57044a7"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"checksum": "be0ea09c178a01bc04c1444349676a59b31c7a97930a5461fc170b3947ea4553"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"0.17.0": {
|
||||||
|
"x86_64_linux_gnu": {
|
||||||
|
"checksum": "41f8a78b85d4a138581dff468fa5a01378c7f7afeaf2d81524c45a9fba8988ad"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"checksum": "41d69c8995f6a77acc3d0a0389de06f42000e8362264f6bd2c8ac12a7124827b"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"checksum": "6e92a4186e2a5ddd61bc388c2d28558060e352d39e7ddb0985463e14728523da"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"0.16": {
|
"0.16": {
|
||||||
"version": "0.16.1"
|
"version": "0.16.1"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
cd "$(dirname "$0")"/..
|
cd "$(dirname "$0")"/..
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
cd "$(dirname "$0")"/..
|
cd "$(dirname "$0")"/..
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# shellcheck disable=SC2046
|
# shellcheck disable=SC2046
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
|
|||||||
Reference in New Issue
Block a user