mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 04:30:37 +00:00
Format
This commit is contained in:
parent
59c19b56c2
commit
3f6856a05d
2 changed files with 21 additions and 20 deletions
17
.github/actions/test/action.yml
vendored
17
.github/actions/test/action.yml
vendored
|
@ -7,21 +7,22 @@ inputs:
|
|||
version:
|
||||
required: false
|
||||
path:
|
||||
default: '.'
|
||||
default: "."
|
||||
required: false
|
||||
token:
|
||||
default: '${{ github.token }}'
|
||||
default: "${{ github.token }}"
|
||||
required: false
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
using: "composite"
|
||||
steps:
|
||||
- run: |
|
||||
cat > ${{ inputs.path}}/aftman.toml << EOF
|
||||
- name: Create manifest file
|
||||
run: |
|
||||
cat > ${{ inputs.path }}/aftman.toml << EOF
|
||||
[tools]
|
||||
selene = "Kampfkarren/selene@0.19.1"
|
||||
stylua = "JohnnyMorganz/stylua@0.14.0"
|
||||
rojo = "rojo-rbx/rojo@7.2.1"
|
||||
selene = "Kampfkarren/selene@0.19.1"
|
||||
stylua = "JohnnyMorganz/stylua@0.14.0"
|
||||
rojo = "rojo-rbx/rojo@7.2.1"
|
||||
EOF
|
||||
shell: bash
|
||||
|
||||
|
|
24
action.yml
24
action.yml
|
@ -4,28 +4,28 @@ author: ok-nick
|
|||
|
||||
inputs:
|
||||
version:
|
||||
description: '`aftman` version in the form `vx.x.x`'
|
||||
description: "`aftman` version in the form `vx.x.x`"
|
||||
required: false
|
||||
trust-check:
|
||||
description: 'Whether to check trusts'
|
||||
deprecationMessage: 'Input `trust-check` is no longer used in `setup-aftman`, consider removing it from your configuration'
|
||||
default: 'true'
|
||||
description: "Whether to check trusts"
|
||||
deprecationMessage: "Input `trust-check` is no longer used in `setup-aftman`, consider removing it from your configuration"
|
||||
default: "true"
|
||||
required: false
|
||||
trusts:
|
||||
description: 'List of trusted tools separated by spaces'
|
||||
deprecationMessage: 'Input `trusts` is no longer used in `setup-aftman`, consider removing it from your configuration'
|
||||
description: "List of trusted tools separated by spaces"
|
||||
deprecationMessage: "Input `trusts` is no longer used in `setup-aftman`, consider removing it from your configuration"
|
||||
required: false
|
||||
path:
|
||||
description: 'Path to the `aftman.toml` directory'
|
||||
default: '.'
|
||||
description: "Path to the `aftman.toml` directory"
|
||||
default: "."
|
||||
required: false
|
||||
token:
|
||||
description: 'Github token from `github.token`'
|
||||
default: '${{ github.token }}'
|
||||
description: "Github token from `github.token`"
|
||||
default: "${{ github.token }}"
|
||||
required: false
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Download aftman
|
||||
run: |
|
||||
|
@ -45,7 +45,7 @@ runs:
|
|||
unzip aftman*.zip
|
||||
./aftman self-install
|
||||
shell: bash
|
||||
|
||||
|
||||
- name: Set environment variable
|
||||
if: runner.os == 'Windows'
|
||||
run: echo "$HOME/.aftman/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||
|
|
Loading…
Reference in a new issue