chore: remove unsed files

This commit is contained in:
zizifn
2020-12-13 23:37:45 +08:00
committed by zizifn3
parent ce5147d2ae
commit c1ea652af7
4 changed files with 0 additions and 75 deletions

View File

@@ -1,27 +0,0 @@
name: "Hello World"
description: "Greet someone"
inputs:
who-to-greet: # id of input
description: "Who to greet"
required: true
default: "World"
outputs:
random-number:
description: "Random number"
value: ${{ steps.random-number-generator.outputs.random-id }}
runs:
using: "composite"
steps:
- run: echo Hello ${{ inputs.who-to-greet }}.
shell: bash
- id: random-number-generator
run: echo "::set-output name=random-id::$(echo $RANDOM)"
shell: bash
- id: get-variable
run: echo github.action_path is ${{github.action_path}}
shell: bash
- name: copy files
run: cp ${{ github.action_path }}/module.ps1 . # share script to user
shell: bash
- run: ${{ github.action_path }}/goodbye.sh
shell: bash

View File

@@ -1 +0,0 @@
echo "Goodbye"

View File

@@ -1,11 +0,0 @@
function Show-Calendar {
Write-Host "output - Show-Calendar"
}
function Show-Calendar2 {
Write-Host "output - Show-Calendar2"
}
function Show-Calendar3 {
Write-Host "output - Show-Calendar3"
}

View File

@@ -1,36 +0,0 @@
name: shell-test
on:
workflow_dispatch:
branches:
- main
jobs:
shell-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run a multi-line script
run: |
echo github.action_path is ${{github.action_path}}
echo "Run a multi-line script"
- id: foo
uses: ./.github/actions
with:
who-to-greet: "Mona the Octocat"
- run: echo random-number ${{ steps.foo.outputs.random-number }}
shell: bash
- run: ls -al
shell: bash
- name: show dir
shell: bash
run: |
sudo apt install tree
tree -al .
- name: run pwsh
shell: pwsh
run: |
. ./module.ps1
Show-Calendar
Show-Calendar3
Show-Calendar2