mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2025-01-19 09:08:05 +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 }}'
|
default: '${{ github.token }}'
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- shell: bash
|
- run: |
|
||||||
run: |
|
|
||||||
cat > ${{ inputs.path}}/aftman.toml << EOF
|
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
|
||||||
|
|
||||||
- name: Run setup-aftman
|
- name: Run setup-aftman
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
4
.github/workflows/CI.yml
vendored
4
.github/workflows/CI.yml
vendored
|
@ -1,6 +1,10 @@
|
||||||
name: CI
|
name: CI
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test_linux_no_trust:
|
test_linux_no_trust:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
10
action.yml
10
action.yml
|
@ -22,28 +22,27 @@ inputs:
|
||||||
default: '${{ github.token }}'
|
default: '${{ github.token }}'
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- name: Download aftman
|
- name: Download aftman
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: gh release download ${{ inputs.version }} --repo LPGhatguy/aftman --pattern *linux-x86_64.zip
|
run: gh release download ${{ inputs.version }} --repo LPGhatguy/aftman --pattern *linux-x86_64.zip
|
||||||
|
shell: bash
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ inputs.token }}
|
GITHUB_TOKEN: ${{ inputs.token }}
|
||||||
|
|
||||||
- name: Download aftman
|
- name: Download aftman
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: gh release download ${{ inputs.version }} --repo LPGhatguy/aftman --pattern *macos-x86_64.zip
|
run: gh release download ${{ inputs.version }} --repo LPGhatguy/aftman --pattern *macos-x86_64.zip
|
||||||
|
shell: bash
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ inputs.token }}
|
GITHUB_TOKEN: ${{ inputs.token }}
|
||||||
|
|
||||||
- name: Download aftman
|
- name: Download aftman
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: gh release download ${{ inputs.version }} --repo LPGhatguy/aftman --pattern *windows-x86_64.zip
|
run: gh release download ${{ inputs.version }} --repo LPGhatguy/aftman --pattern *windows-x86_64.zip
|
||||||
|
shell: bash
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ inputs.token }}
|
GITHUB_TOKEN: ${{ inputs.token }}
|
||||||
|
|
||||||
|
@ -52,6 +51,7 @@ runs:
|
||||||
unzip aftman*.zip
|
unzip aftman*.zip
|
||||||
./aftman self-install
|
./aftman self-install
|
||||||
echo "$HOME/.aftman/bin" >> $GITHUB_PATH
|
echo "$HOME/.aftman/bin" >> $GITHUB_PATH
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Setup trusts
|
- name: Setup trusts
|
||||||
if: ${{ inputs.no-trust-check == false }}
|
if: ${{ inputs.no-trust-check == false }}
|
||||||
|
@ -59,6 +59,7 @@ runs:
|
||||||
for name in ${{ inputs.trusts }}; do
|
for name in ${{ inputs.trusts }}; do
|
||||||
aftman trust $name
|
aftman trust $name
|
||||||
done
|
done
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: |
|
run: |
|
||||||
|
@ -68,6 +69,7 @@ runs:
|
||||||
else
|
else
|
||||||
aftman install
|
aftman install
|
||||||
fi
|
fi
|
||||||
|
shell: bash
|
||||||
|
|
||||||
branding:
|
branding:
|
||||||
icon: link-2
|
icon: link-2
|
||||||
|
|
Loading…
Reference in a new issue