fix defaults

This commit is contained in:
ok-nick 2022-07-18 12:20:56 -04:00
parent cd8c62af7b
commit 6384d567e6
3 changed files with 12 additions and 10 deletions

View file

@ -18,21 +18,17 @@ inputs:
default: '${{ github.token }}'
required: false
defaults:
run:
shell: bash
runs:
using: 'composite'
steps:
- shell: bash
run: |
- 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
shell: bash
- name: Run setup-aftman
uses: ./

View file

@ -1,6 +1,10 @@
name: CI
on: [push, pull_request]
defaults:
run:
shell: bash
jobs:
test_linux_no_trust:
runs-on: ubuntu-latest

View file

@ -22,28 +22,27 @@ inputs:
default: '${{ github.token }}'
required: false
defaults:
run:
shell: bash
runs:
using: 'composite'
steps:
- name: Download aftman
if: runner.os == 'Linux'
run: gh release download ${{ inputs.version }} --repo LPGhatguy/aftman --pattern *linux-x86_64.zip
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.token }}
- name: Download aftman
if: runner.os == 'macOS'
run: gh release download ${{ inputs.version }} --repo LPGhatguy/aftman --pattern *macos-x86_64.zip
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.token }}
- name: Download aftman
if: runner.os == 'Windows'
run: gh release download ${{ inputs.version }} --repo LPGhatguy/aftman --pattern *windows-x86_64.zip
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.token }}
@ -52,6 +51,7 @@ runs:
unzip aftman*.zip
./aftman self-install
echo "$HOME/.aftman/bin" >> $GITHUB_PATH
shell: bash
- name: Setup trusts
if: ${{ inputs.no-trust-check == false }}
@ -59,6 +59,7 @@ runs:
for name in ${{ inputs.trusts }}; do
aftman trust $name
done
shell: bash
- name: Install tools
run: |
@ -68,6 +69,7 @@ runs:
else
aftman install
fi
shell: bash
branding:
icon: link-2