This commit is contained in:
ok-nick 2022-09-16 23:16:42 -04:00
parent 59c19b56c2
commit 3f6856a05d
No known key found for this signature in database
GPG key ID: A93D451DB4F2EB17
2 changed files with 21 additions and 20 deletions

View file

@ -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

View file

@ -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