Skip to content

Commit

Permalink
[feature] init commit to create reusable workflow to run customized a…
Browse files Browse the repository at this point in the history
…ctions with shell script
  • Loading branch information
AndyBoWu committed Aug 21, 2024
1 parent 4d40caf commit 23baa36
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/reusable-run-actions-network.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Reusable workflow to run actions

on:
workflow_call:
inputs:
network:
description: 'Network to use'
required: true
type: string

jobs:
lint:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5

- name: Print network
run: |
echo "Network: ${{ inputs.network }}"

0 comments on commit 23baa36

Please sign in to comment.