mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2025-03-02 18:13:38 +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:
|
version:
|
||||||
required: false
|
required: false
|
||||||
path:
|
path:
|
||||||
default: '.'
|
default: "."
|
||||||
required: false
|
required: false
|
||||||
token:
|
token:
|
||||||
default: '${{ github.token }}'
|
default: "${{ github.token }}"
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- name: Create manifest file
|
||||||
cat > ${{ inputs.path}}/aftman.toml << EOF
|
run: |
|
||||||
|
cat > ${{ inputs.path }}/aftman.toml << EOF
|
||||||
[tools]
|
[tools]
|
||||||
selene = "Kampfkarren/selene@0.19.1"
|
selene = "Kampfkarren/selene@0.19.1"
|
||||||
stylua = "JohnnyMorganz/stylua@0.14.0"
|
stylua = "JohnnyMorganz/stylua@0.14.0"
|
||||||
rojo = "rojo-rbx/rojo@7.2.1"
|
rojo = "rojo-rbx/rojo@7.2.1"
|
||||||
EOF
|
EOF
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
|
24
action.yml
24
action.yml
|
@ -4,28 +4,28 @@ author: ok-nick
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: '`aftman` version in the form `vx.x.x`'
|
description: "`aftman` version in the form `vx.x.x`"
|
||||||
required: false
|
required: false
|
||||||
trust-check:
|
trust-check:
|
||||||
description: 'Whether to check trusts'
|
description: "Whether to check trusts"
|
||||||
deprecationMessage: 'Input `trust-check` is no longer used in `setup-aftman`, consider removing it from your configuration'
|
deprecationMessage: "Input `trust-check` is no longer used in `setup-aftman`, consider removing it from your configuration"
|
||||||
default: 'true'
|
default: "true"
|
||||||
required: false
|
required: false
|
||||||
trusts:
|
trusts:
|
||||||
description: 'List of trusted tools separated by spaces'
|
description: "List of trusted tools separated by spaces"
|
||||||
deprecationMessage: 'Input `trusts` is no longer used in `setup-aftman`, consider removing it from your configuration'
|
deprecationMessage: "Input `trusts` is no longer used in `setup-aftman`, consider removing it from your configuration"
|
||||||
required: false
|
required: false
|
||||||
path:
|
path:
|
||||||
description: 'Path to the `aftman.toml` directory'
|
description: "Path to the `aftman.toml` directory"
|
||||||
default: '.'
|
default: "."
|
||||||
required: false
|
required: false
|
||||||
token:
|
token:
|
||||||
description: 'Github token from `github.token`'
|
description: "Github token from `github.token`"
|
||||||
default: '${{ github.token }}'
|
default: "${{ github.token }}"
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Download aftman
|
- name: Download aftman
|
||||||
run: |
|
run: |
|
||||||
|
@ -45,7 +45,7 @@ runs:
|
||||||
unzip aftman*.zip
|
unzip aftman*.zip
|
||||||
./aftman self-install
|
./aftman self-install
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Set environment variable
|
- name: Set environment variable
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: echo "$HOME/.aftman/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
run: echo "$HOME/.aftman/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
|
|
Loading…
Add table
Reference in a new issue