Skip to content

Commit aeab4da

Browse files
committed
chore: update
1 parent 79dcd5e commit aeab4da

File tree

5 files changed

+54
-1
lines changed

5 files changed

+54
-1
lines changed

.github/workflows/shell.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: shell-test
2+
3+
on:
4+
workflow_dispatch:
5+
branches:
6+
- main
7+
8+
jobs:
9+
shell-test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Run a multi-line script
14+
run: |
15+
echo "Run a multi-line script"
16+
- id: foo
17+
uses: actions/hello-world-composite-run-steps-action@v1
18+
with:
19+
who-to-greet: 'Mona the Octocat'
20+
- run: echo random-number ${{ steps.foo.outputs.random-number }}
21+
shell: bash

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
# v2ray-heroku
1+
# v2ray-heroku
2+
3+
## 一键部署
4+
5+
## github actions 管理
6+
7+
### 重新部署
8+
9+
### 停止
10+
11+
### 启动

action.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Hello World"
2+
description: "Greet someone"
3+
inputs:
4+
who-to-greet: # id of input
5+
description: "Who to greet"
6+
required: true
7+
default: "World"
8+
outputs:
9+
random-number:
10+
description: "Random number"
11+
value: ${{ steps.random-number-generator.outputs.random-id }}
12+
runs:
13+
using: "composite"
14+
steps:
15+
- run: echo Hello ${{ inputs.who-to-greet }}.
16+
shell: bash
17+
- id: random-number-generator
18+
run: echo "::set-output name=random-id::$(echo $RANDOM)"
19+
shell: bash
20+
- run: ${{ github.action_path }}/goodbye.sh
21+
shell: bash

goodbye.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
echo "Goodbye"

test.js

Whitespace-only changes.

0 commit comments

Comments
 (0)