Skip to content

Commit

Permalink
feat: Add toolchain, rustc outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
brndnmtthws committed Mar 6, 2023
1 parent 248a778 commit 051f119
Show file tree
Hide file tree
Showing 9 changed files with 62 additions and 471 deletions.
1 change: 0 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module.exports = {
plugins: ['@typescript-eslint', 'simple-import-sort', 'import', 'prettier'],
extends: [
'eslint:recommended',
'plugin:github/recommended',
'plugin:@typescript-eslint/recommended',
'plugin:import/recommended',
'plugin:import/typescript',
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ on:
pull_request:
paths-ignore:
- '**.md'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
npm run build
npm run build && git add dist
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ inputs:
some platforms, so it's disabled by default.
default: 'false'

outputs:
toolchain:
description: The Rust toolchain that which was installed.
rustc-version:
description: The installed rustc version for the current toolchain.

runs:
using: 'node16'
main: 'dist/index.mjs'
22 changes: 21 additions & 1 deletion dist/index.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.mjs.map

Large diffs are not rendered by default.

Loading

0 comments on commit 051f119

Please sign in to comment.