mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 12:40:36 +00:00
fix defaults
This commit is contained in:
parent
cd8c62af7b
commit
6384d567e6
3 changed files with 12 additions and 10 deletions
8
.github/actions/test/action.yml
vendored
8
.github/actions/test/action.yml
vendored
|
@ -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: ./
|
||||
|
|
4
.github/workflows/CI.yml
vendored
4
.github/workflows/CI.yml
vendored
|
@ -1,6 +1,10 @@
|
|||
name: CI
|
||||
on: [push, pull_request]
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
jobs:
|
||||
test_linux_no_trust:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
10
action.yml
10
action.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue