From 54a9d38fb4951657bcec85dac4af0a495180df53 Mon Sep 17 00:00:00 2001 From: megamathew <118152515+megamathew@users.noreply.github.com> Date: Mon, 25 Sep 2023 02:17:43 -0700 Subject: [PATCH 1/4] Create blank.yml --- .github/workflows/blank.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..be58568 --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: simpleWorkflow + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "develop" branch + push: + branches: [ "develop" ] + pull_request: + branches: [ "develop" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. From defa7709f67d538e57078574a9d6de7823db5558 Mon Sep 17 00:00:00 2001 From: megamathew <118152515+megamathew@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:08:56 -0700 Subject: [PATCH 2/4] Create action.yml --- action.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..b347932 --- /dev/null +++ b/action.yml @@ -0,0 +1,13 @@ +name: print message +description: prints a message +inputs: + message: + description: message to print + required:true + +outputs: +none: +description: dont produce any outputs +runs: +useing: "node16" +main:"index.js" From 654a3c49440f267045ad986a9db3728f20c416c3 Mon Sep 17 00:00:00 2001 From: megamathew <118152515+megamathew@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:14:59 -0700 Subject: [PATCH 3/4] Create print.yaml --- print.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 print.yaml diff --git a/print.yaml b/print.yaml new file mode 100644 index 0000000..916b5a6 --- /dev/null +++ b/print.yaml @@ -0,0 +1,13 @@ +name:print message work flow +on: + push: + branches: + -main +jobs: + build: + runs-on:ubuntu latest + + steps: + -uses:./print-message@main + with: + message: "hello world!" From ab9b4494650864e61d7dea4ed3c4ce90534412b9 Mon Sep 17 00:00:00 2001 From: megamathew <118152515+megamathew@users.noreply.github.com> Date: Tue, 26 Sep 2023 02:31:48 -0700 Subject: [PATCH 4/4] Update action.yml --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index b347932..5ac1cdb 100644 --- a/action.yml +++ b/action.yml @@ -11,3 +11,4 @@ description: dont produce any outputs runs: useing: "node16" main:"index.js" +