generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace TypeScript hell with simple Bash script 🎉
Inspired by #34
- Loading branch information
Showing
12 changed files
with
60 additions
and
855 deletions.
There are no files selected for viewing
31 changes: 16 additions & 15 deletions
31
.github/workflows/integration.yml → .github/workflows/test.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
name: 'Set up a Rust toolchain' | ||
description: 'Install a specific Rust toolchain and add it to the PATH' | ||
author: 'Héctor Ramón' | ||
name: Set up a Rust toolchain | ||
description: Install a specific Rust toolchain and add it to the PATH | ||
author: Héctor Ramón Jiménez <hector@hecrj.dev> | ||
branding: | ||
icon: package | ||
color: blue | ||
inputs: | ||
rust-version: | ||
description: 'The toolchain name, such as stable, nightly, or 1.8.0' | ||
default: 'stable' | ||
description: The toolchain version; such as stable, nightly, or 1.8.0 | ||
default: stable | ||
components: | ||
description: 'The toolchain components to install, comma-separated' | ||
default: '' | ||
description: The toolchain components to install, comma-separated | ||
default: "" | ||
targets: | ||
description: 'The toolchain targets to add, comma-separated' | ||
default: '' | ||
description: The toolchain targets to add, comma-separated | ||
default: "" | ||
runs: | ||
using: 'node16' | ||
main: 'dist/index.js' | ||
branding: | ||
icon: 'download' | ||
color: 'blue' | ||
using: composite | ||
steps: | ||
- id: setup | ||
run: '"${GITHUB_ACTION_PATH%/}/setup.sh"' | ||
shell: bash | ||
env: | ||
INPUT_RUST_VERSION: ${{ inputs.rust-version }} | ||
INPUT_COMPONENTS: ${{ inputs.components }} | ||
INPUT_TARGETS: ${{ inputs.targets }} |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
File renamed without changes.
Oops, something went wrong.