mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 12:40:36 +00:00
45 lines
885 B
YAML
45 lines
885 B
YAML
name: Test
|
|
description: Test
|
|
author: ok-nick
|
|
|
|
# same input as `setup-aftman`
|
|
inputs:
|
|
version:
|
|
required: false
|
|
no-trust-check:
|
|
default: 'false'
|
|
required: false
|
|
trusts:
|
|
required: false
|
|
path:
|
|
default: '.'
|
|
required: false
|
|
token:
|
|
default: '${{ github.token }}'
|
|
required: false
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- shell: bash
|
|
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"
|
|
EOF
|
|
|
|
- name: Run setup-aftman
|
|
uses: ./
|
|
with:
|
|
version: ${{ inputs.version }}
|
|
no-trust-check: ${{ inputs.no-trust-check }}
|
|
trusts: ${{ inputs.trusts }}
|
|
path: ${{ inputs.path }}
|
|
token: ${{ inputs.token }}
|
|
|