example #104
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# entry | |
name: example | |
on: | |
workflow_dispatch: | |
inputs: | |
token: | |
description: 'chaitin rivers token' | |
required: true | |
type: | |
description: 'your host type' | |
required: true | |
jobs: | |
runner: | |
runs-on: ubuntu-latest # 选择你想要的主机系统如:ubuntu:20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: collie | |
if: ${{ inputs.token != '' && inputs.type != '' }} | |
uses: dvkunion/CollieTrickster@main | |
with: | |
token: ${{ inputs.token }} | |
host_type: ${{ inputs.type }} |