From 284a07fd086bf54764caed561a71107f8c43f475 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 9 Jun 2021 12:28:45 +0800 Subject: [PATCH 001/110] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74a7c04..288933f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,4 +104,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - args: comment "Hello World" number 1 + args: comment "Hello World1" number 1 From 12247231dfafac3f6777ecf20f7c7e2f6940b3b4 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 9 Jun 2021 12:34:20 +0800 Subject: [PATCH 002/110] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 288933f..f8bc907 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,6 +69,7 @@ jobs: echo "job.status is ${{job.status}}" echo "job.container.id is ${{job.container.id}}" echo "job.container.network is ${{job.container.network}}" + if: job.status == "success" && github.workflow == "main" - name: Dump GitHub context env: From cad690abbbefaa07f807b785470fb416d443a1c8 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 9 Jun 2021 12:36:16 +0800 Subject: [PATCH 003/110] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8bc907..af94ff4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: echo "job.status is ${{job.status}}" echo "job.container.id is ${{job.container.id}}" echo "job.container.network is ${{job.container.network}}" - if: job.status == "success" && github.workflow == "main" + if: job.status == success && github.workflow == main - name: Dump GitHub context env: From fc888a53c40388445daba7e00f51c3fb76f5b35d Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 9 Jun 2021 12:37:19 +0800 Subject: [PATCH 004/110] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af94ff4..8a64d3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: echo "job.status is ${{job.status}}" echo "job.container.id is ${{job.container.id}}" echo "job.container.network is ${{job.container.network}}" - if: job.status == success && github.workflow == main + if: ${{ ${{ job.status }} == "success" && ${{ github.workflow }} == "main" }} - name: Dump GitHub context env: From ff1b003cdb6124de16440f57c280d5cc83c5fc15 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 9 Jun 2021 12:41:15 +0800 Subject: [PATCH 005/110] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a64d3e..0c47242 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: echo "job.status is ${{job.status}}" echo "job.container.id is ${{job.container.id}}" echo "job.container.network is ${{job.container.network}}" - if: ${{ ${{ job.status }} == "success" && ${{ github.workflow }} == "main" }} + if: ${{ job.status == "success" && github.workflow == "main" }} - name: Dump GitHub context env: From e73e8c1a0c8ce3d576360a3ef97d1dce3683d5cf Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 9 Jun 2021 14:38:42 +0800 Subject: [PATCH 006/110] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c47242..0459545 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: echo "job.status is ${{job.status}}" echo "job.container.id is ${{job.container.id}}" echo "job.container.network is ${{job.container.network}}" - if: ${{ job.status == "success" && github.workflow == "main" }} + if: ${{ job.status == success && github.workflow == main }} - name: Dump GitHub context env: From 1c3602e39423177baf313f03e6421f636d6669a4 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 9 Jun 2021 14:40:39 +0800 Subject: [PATCH 007/110] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0459545..d288671 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: echo "job.status is ${{job.status}}" echo "job.container.id is ${{job.container.id}}" echo "job.container.network is ${{job.container.network}}" - if: ${{ job.status == success && github.workflow == main }} + if: ${{ job.status == 'success' && github.workflow == 'main' }} - name: Dump GitHub context env: From db70de53268e9ee06b5a5bfb6d8be4c75b65b05a Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 9 Jun 2021 14:41:41 +0800 Subject: [PATCH 008/110] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d288671..156e3c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: echo "job.status is ${{job.status}}" echo "job.container.id is ${{job.container.id}}" echo "job.container.network is ${{job.container.network}}" - if: ${{ job.status == 'success' && github.workflow == 'main' }} + if: job.status == 'success' && github.workflow == 'main' - name: Dump GitHub context env: From d82ff8c03f69b1c0d3735a276377fa6f625b5115 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 9 Jun 2021 14:42:40 +0800 Subject: [PATCH 009/110] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 156e3c7..380e0d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: echo "job.status is ${{job.status}}" echo "job.container.id is ${{job.container.id}}" echo "job.container.network is ${{job.container.network}}" - if: job.status == 'success' && github.workflow == 'main' + if: ${{ job.status }} == 'success' && ${{ github.workflow }} == 'main' - name: Dump GitHub context env: From 761c75a0b42e41b52cd42d080f235f42a6799b8d Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 3 Aug 2021 16:38:54 +0800 Subject: [PATCH 010/110] add matrix.yml --- .github/workflows/blank.yml | 55 +++++++++++++++++++++++++++++++++++++ 1 file changed, 55 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..2679644 --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,55 @@ +# This is a basic workflow to help you get started with Actions + +name: use matrix + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # 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 + + strategy: + matrix: + cpu: ["amd64"] + service: ["controller-manager", "admission-webhook", "metrics-apiserver", "keepalived-manager", "corefile-manager"] + include: + - cpu: "arm64" + service: "keepalived-manager" + - cpu: "arm64" + service: "corefile-manager" + + # 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@v2 + + # 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: | + if [ ${{ matrix.cpu }} == "amd64" ];then + echo "::set-output name=targetImageTag::v1.0.0-${{ ci.sha_short }}-${{ matrix.cpu }}" + echo "::set-output name=dockerFilePath::./build/Dockerfile.${{ matrix.service }}.${{ matrix.cpu }}" + else + echo "::set-output name=targetImageTag::v1.0.0-${{ ci.sha_short }}" + echo "::set-output name=dockerFilePath::./build/Dockerfile.${{ matrix.service }}-ci.${{ matrix.cpu }}" + fi + id: prepare + - run: | + echo "targetImageTag is ${{ steps.prepare.outputs.targetImageTag }}" + echo "dockerFilePath is ${{ steps.prepare.outputs.dockerFilePath }}" From e0c20441fabeae81a38ab571f6d1eee5176f35a9 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 3 Aug 2021 16:39:55 +0800 Subject: [PATCH 011/110] github.sha --- .github/workflows/blank.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 2679644..6800e3c 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -43,10 +43,10 @@ jobs: - name: Run a multi-line script run: | if [ ${{ matrix.cpu }} == "amd64" ];then - echo "::set-output name=targetImageTag::v1.0.0-${{ ci.sha_short }}-${{ matrix.cpu }}" + echo "::set-output name=targetImageTag::v1.0.0-${{ github.sha }}-${{ matrix.cpu }}" echo "::set-output name=dockerFilePath::./build/Dockerfile.${{ matrix.service }}.${{ matrix.cpu }}" else - echo "::set-output name=targetImageTag::v1.0.0-${{ ci.sha_short }}" + echo "::set-output name=targetImageTag::v1.0.0-${{ github.sha }}" echo "::set-output name=dockerFilePath::./build/Dockerfile.${{ matrix.service }}-ci.${{ matrix.cpu }}" fi id: prepare From 6f6b8db740dbfec02207106ee30ab8ba8b03c3ef Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 3 Aug 2021 16:59:06 +0800 Subject: [PATCH 012/110] =?UTF-8?q?=E4=B8=89=E7=BB=B4=E6=95=B0=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/matrix_3.yml | 56 ++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/workflows/matrix_3.yml diff --git a/.github/workflows/matrix_3.yml b/.github/workflows/matrix_3.yml new file mode 100644 index 0000000..c522f15 --- /dev/null +++ b/.github/workflows/matrix_3.yml @@ -0,0 +1,56 @@ +# This is a basic workflow to help you get started with Actions + +name: use matrix-3 + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # 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 + + strategy: + matrix: + cpu: ["amd64"] + service: ["controller-manager", "admission-webhook", "metrics-apiserver", "keepalived-manager", "corefile-manager"] + os: ["mac", "linux", "windows"] + include: + - cpu: "arm64" + service: "keepalived-manager" + - cpu: "arm64" + service: "corefile-manager" + + # 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@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo os is ${{ matrix.os }} + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + if [ ${{ matrix.cpu }} == "amd64" ];then + echo "::set-output name=targetImageTag::v1.0.0-${{ github.sha }}-${{ matrix.cpu }}" + echo "::set-output name=dockerFilePath::./build/Dockerfile.${{ matrix.service }}.${{ matrix.cpu }}" + else + echo "::set-output name=targetImageTag::v1.0.0-${{ github.sha }}" + echo "::set-output name=dockerFilePath::./build/Dockerfile.${{ matrix.service }}-ci.${{ matrix.cpu }}" + fi + id: prepare + - run: | + echo "targetImageTag is ${{ steps.prepare.outputs.targetImageTag }}" + echo "dockerFilePath is ${{ steps.prepare.outputs.dockerFilePath }}" From d8a0a155ab69b889ae4280f1aecd7a988fdbd630 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 30 Aug 2021 15:30:14 +0800 Subject: [PATCH 013/110] Update ReadMe.md --- ReadMe.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ReadMe.md b/ReadMe.md index 0c05efb..e7146db 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -1,5 +1,7 @@ +[![license](https://img.shields.io/badge/license-mit-brightgreen.svg?style=flat)](https://github.com/Tencent/bk-ci/blob/master/LICENSE.txt) [![Release Version](https://img.shields.io/github/v/release/Tencent/bk-ci?include_prereleases)](https://github.com/Tencent/bk-ci/releases) [![Backend CI](https://github.com/Tencent/bk-ci/workflows/Backend%20CI/badge.svg?branch=master)](https://img.shields.io/github/workflow/status/Tencent/bk-ci/Tag%20Realse) + hello hello, it is me. hello, it is 20200904. hello, it is release. -Require status checks to pass before merging \ No newline at end of file +Require status checks to pass before merging From 435d4eb054e4671b2c1ab130707c21ce99e44201 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 30 Aug 2021 15:30:36 +0800 Subject: [PATCH 014/110] Update ReadMe.md --- ReadMe.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReadMe.md b/ReadMe.md index e7146db..8106222 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -1,4 +1,4 @@ -[![license](https://img.shields.io/badge/license-mit-brightgreen.svg?style=flat)](https://github.com/Tencent/bk-ci/blob/master/LICENSE.txt) [![Release Version](https://img.shields.io/github/v/release/Tencent/bk-ci?include_prereleases)](https://github.com/Tencent/bk-ci/releases) [![Backend CI](https://github.com/Tencent/bk-ci/workflows/Backend%20CI/badge.svg?branch=master)](https://img.shields.io/github/workflow/status/Tencent/bk-ci/Tag%20Realse) +[![license](https://img.shields.io/badge/license-mit-brightgreen.svg?style=flat)](https://github.com/Tencent/bk-ci/blob/master/LICENSE.txt) [![Release Version](https://img.shields.io/github/v/release/Tencent/bk-ci?include_prereleases)](https://github.com/Tencent/bk-ci/releases) [![Backend CI](https://github.com/Tencent/bk-ci/workflows/Backend%20CI/badge.svg?branch=master)](https://img.shields.io/github/workflow/status/Tencent/bk-ci/Tag%20Rease) hello hello, it is me. From 4523537bbd7cae62cc012bbdbfd067fdcd2cbab9 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 30 Aug 2021 15:31:04 +0800 Subject: [PATCH 015/110] Update ReadMe.md --- ReadMe.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReadMe.md b/ReadMe.md index 8106222..7267d83 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -1,4 +1,4 @@ -[![license](https://img.shields.io/badge/license-mit-brightgreen.svg?style=flat)](https://github.com/Tencent/bk-ci/blob/master/LICENSE.txt) [![Release Version](https://img.shields.io/github/v/release/Tencent/bk-ci?include_prereleases)](https://github.com/Tencent/bk-ci/releases) [![Backend CI](https://github.com/Tencent/bk-ci/workflows/Backend%20CI/badge.svg?branch=master)](https://img.shields.io/github/workflow/status/Tencent/bk-ci/Tag%20Rease) +[![license](https://img.shields.io/badge/license-mit-brightgreen.svg?style=flat)](https://github.com/Tencent/bk-ci/blob/master/LICENSE.txt) [![Release Version](https://img.shields.io/github/v/release/Tencent/bk-ci?include_prereleases)](https://github.com/Tencent/bk-ci/releases) [![Backend CI](https://github.com/Tencent/bk-ci/workflows/Backend%20C/badge.svg?branch=master)](https://img.shields.io/github/workflow/status/Tencent/bk-ci/Tag%20Rease) hello hello, it is me. From 71593fd5789c7d816bc8eccbaf642cf73dc89a3c Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Fri, 22 Oct 2021 21:27:59 +0800 Subject: [PATCH 016/110] add --- .github/workflows/timer.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/timer.yml diff --git a/.github/workflows/timer.yml b/.github/workflows/timer.yml new file mode 100644 index 0000000..112888e --- /dev/null +++ b/.github/workflows/timer.yml @@ -0,0 +1,32 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + schedule: + # * is a special character in YAML so you have to quote this string + - cron: '*/5 * * * *' + +# 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@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: | + echo ${{ github.event_name }} + echo ${{ github.event_path }} + echo ${{ github.actor }} + echo ${{ github.ref }} + echo ${{ github.repository }} + echo ${{ github.repository_owner }} + echo ${{ github.sha }} From e06118c7735dd4ea1f36270774f15bf0fc7933da Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Fri, 22 Oct 2021 21:44:29 +0800 Subject: [PATCH 017/110] Update timer.yml --- .github/workflows/timer.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/timer.yml b/.github/workflows/timer.yml index 112888e..6734445 100644 --- a/.github/workflows/timer.yml +++ b/.github/workflows/timer.yml @@ -23,10 +23,10 @@ jobs: # Runs a single command using the runners shell - name: Run a one-line script run: | - echo ${{ github.event_name }} - echo ${{ github.event_path }} - echo ${{ github.actor }} - echo ${{ github.ref }} - echo ${{ github.repository }} - echo ${{ github.repository_owner }} - echo ${{ github.sha }} + echo github.event_name is ${{ github.event_name }} + echo github.event_path is ${{ github.event_path }} + echo github.actor is ${{ github.actor }} + echo github.ref is ${{ github.ref }} + echo github.repository is ${{ github.repository }} + echo github.repository_owner is ${{ github.repository_owner }} + echo github.sha is ${{ github.sha }} From 3a11822696b23b68ba91a576d1929a722d3be4a6 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 28 Oct 2021 20:12:16 +0800 Subject: [PATCH 018/110] Update ci.yml --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 380e0d2..e0d24fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,5 @@ # This is a basic workflow to help you get started with Actions -name: main - # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: From f3b001af55ea6014c06675a9d329ed2fa4cbb335 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Fri, 29 Oct 2021 18:43:42 +0800 Subject: [PATCH 019/110] Update matrix_3.yml --- .github/workflows/matrix_3.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/matrix_3.yml b/.github/workflows/matrix_3.yml index c522f15..c1f9bf5 100644 --- a/.github/workflows/matrix_3.yml +++ b/.github/workflows/matrix_3.yml @@ -16,20 +16,16 @@ on: # 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" + prepare: + runs-on: ubuntu-latest + steps: + - run: echo "::set-output name=matrix::{\"include\":[{\"project\":\"foo\",\"config\":\"Debug\"},{\"project\":\"bar\",\"config\":\"Release\"}]}" build: # The type of runner that the job will run on runs-on: ubuntu-latest - + needs: prepare strategy: - matrix: - cpu: ["amd64"] - service: ["controller-manager", "admission-webhook", "metrics-apiserver", "keepalived-manager", "corefile-manager"] - os: ["mac", "linux", "windows"] - include: - - cpu: "arm64" - service: "keepalived-manager" - - cpu: "arm64" - service: "corefile-manager" + matrix: ${{fromJSON(depends.job1.outputs.matrix)}} # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -38,7 +34,7 @@ jobs: # Runs a single command using the runners shell - name: Run a one-line script - run: echo os is ${{ matrix.os }} + run: echo project is ${{ matrix.project }} # Runs a set of commands using the runners shell - name: Run a multi-line script From 86457a24f6c0fa4e24b004c1c0cdc1e9b1698326 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Fri, 29 Oct 2021 18:45:18 +0800 Subject: [PATCH 020/110] Update matrix_3.yml --- .github/workflows/matrix_3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matrix_3.yml b/.github/workflows/matrix_3.yml index c1f9bf5..a63c15c 100644 --- a/.github/workflows/matrix_3.yml +++ b/.github/workflows/matrix_3.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest needs: prepare strategy: - matrix: ${{fromJSON(depends.job1.outputs.matrix)}} + matrix: ${{fromJSON(needs.prepare.outputs.matrix)}} # Steps represent a sequence of tasks that will be executed as part of the job steps: From 28d913a228f57d314ee66f560e68a25697488331 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Fri, 29 Oct 2021 18:51:49 +0800 Subject: [PATCH 021/110] Update matrix_3.yml --- .github/workflows/matrix_3.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/matrix_3.yml b/.github/workflows/matrix_3.yml index a63c15c..44c51ca 100644 --- a/.github/workflows/matrix_3.yml +++ b/.github/workflows/matrix_3.yml @@ -19,7 +19,10 @@ jobs: prepare: runs-on: ubuntu-latest steps: + - id: output_data - run: echo "::set-output name=matrix::{\"include\":[{\"project\":\"foo\",\"config\":\"Debug\"},{\"project\":\"bar\",\"config\":\"Release\"}]}" + outputs: + matrix: ${{ steps.output_data.outputs.matrix }} build: # The type of runner that the job will run on runs-on: ubuntu-latest From 3070deecc3158cbca26261dcc5b0e4016162b3fc Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Fri, 29 Oct 2021 18:53:24 +0800 Subject: [PATCH 022/110] Update matrix_3.yml --- .github/workflows/matrix_3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matrix_3.yml b/.github/workflows/matrix_3.yml index 44c51ca..48ea4b8 100644 --- a/.github/workflows/matrix_3.yml +++ b/.github/workflows/matrix_3.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - id: output_data - - run: echo "::set-output name=matrix::{\"include\":[{\"project\":\"foo\",\"config\":\"Debug\"},{\"project\":\"bar\",\"config\":\"Release\"}]}" + run: echo "::set-output name=matrix::{\"include\":[{\"project\":\"foo\",\"config\":\"Debug\"},{\"project\":\"bar\",\"config\":\"Release\"}]}" outputs: matrix: ${{ steps.output_data.outputs.matrix }} build: From d7d1d2a6b9cb072a5ec66dcb64617f467cd09561 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 1 Nov 2021 14:25:32 +0800 Subject: [PATCH 023/110] Create matrix_2.yml --- .github/workflows/matrix_2.yml | 53 ++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/matrix_2.yml diff --git a/.github/workflows/matrix_2.yml b/.github/workflows/matrix_2.yml new file mode 100644 index 0000000..afb28c1 --- /dev/null +++ b/.github/workflows/matrix_2.yml @@ -0,0 +1,53 @@ +name: use matrix-3 + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # 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" + prepare: + runs-on: ubuntu-latest + steps: + - id: output_data + run: echo "::set-output name=matrix::{\"include\":[{\"project\":\"foo\",\"config\":\"Debug\"},{\"project\":\"bar\",\"config\":\"Release\"}]}" + outputs: + matrix: ${{ steps.output_data.outputs.matrix }} + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + needs: prepare + strategy: + matrix: + a: [a1, a2, a3] + b: [b1, b2] + include: + - a: a1 + c: c1 + - a: a1 + b: b1 + d: d1 + - a: a1 + b: b3 + - a: a4 + b: b3 + # 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@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: | + echo a is ${{ matrix.a }} + echo b is ${{ matrix.b }} + echo c is ${{ matrix.c }} + echo d is ${{ matrix.d }} From d9faec57bc5ca9fdc12d21ebdd59376277e24441 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 1 Nov 2021 14:32:18 +0800 Subject: [PATCH 024/110] Update matrix_2.yml --- .github/workflows/matrix_2.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/matrix_2.yml b/.github/workflows/matrix_2.yml index afb28c1..1967b1f 100644 --- a/.github/workflows/matrix_2.yml +++ b/.github/workflows/matrix_2.yml @@ -1,4 +1,4 @@ -name: use matrix-3 +name: use matrix-2 # Controls when the workflow will run on: @@ -28,7 +28,7 @@ jobs: strategy: matrix: a: [a1, a2, a3] - b: [b1, b2] + b: [b1, b2, b3] include: - a: a1 c: c1 From abaf9489f1bf44495b6fe06f1f0071ce000326e4 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 1 Nov 2021 14:51:38 +0800 Subject: [PATCH 025/110] Update matrix_2.yml --- .github/workflows/matrix_2.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/matrix_2.yml b/.github/workflows/matrix_2.yml index 1967b1f..453af41 100644 --- a/.github/workflows/matrix_2.yml +++ b/.github/workflows/matrix_2.yml @@ -29,14 +29,17 @@ jobs: matrix: a: [a1, a2, a3] b: [b1, b2, b3] + e: [e1, e2, e3] + f: [f1, f2, f3] + g: [g1, g2, g3] + h: [h1, h2, h3] + i: [i1, i2, i3] include: - a: a1 c: c1 - a: a1 b: b1 d: d1 - - a: a1 - b: b3 - a: a4 b: b3 # Steps represent a sequence of tasks that will be executed as part of the job From 973eece6d4f30bb66ee9340c0dab49a4d017da38 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 1 Nov 2021 14:54:26 +0800 Subject: [PATCH 026/110] Update matrix_2.yml --- .github/workflows/matrix_2.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/matrix_2.yml b/.github/workflows/matrix_2.yml index 453af41..cf63546 100644 --- a/.github/workflows/matrix_2.yml +++ b/.github/workflows/matrix_2.yml @@ -32,8 +32,6 @@ jobs: e: [e1, e2, e3] f: [f1, f2, f3] g: [g1, g2, g3] - h: [h1, h2, h3] - i: [i1, i2, i3] include: - a: a1 c: c1 From 96d360f1aaae1671540389d141959e82b6cc3f34 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 1 Nov 2021 15:55:38 +0800 Subject: [PATCH 027/110] Update matrix_2.yml --- .github/workflows/matrix_2.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/matrix_2.yml b/.github/workflows/matrix_2.yml index cf63546..4771b7e 100644 --- a/.github/workflows/matrix_2.yml +++ b/.github/workflows/matrix_2.yml @@ -29,9 +29,6 @@ jobs: matrix: a: [a1, a2, a3] b: [b1, b2, b3] - e: [e1, e2, e3] - f: [f1, f2, f3] - g: [g1, g2, g3] include: - a: a1 c: c1 From f1c5765b4c10643beb185abb03c481b61a942613 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 1 Nov 2021 21:23:53 +0800 Subject: [PATCH 028/110] Update matrix_2.yml --- .github/workflows/matrix_2.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/matrix_2.yml b/.github/workflows/matrix_2.yml index 4771b7e..649d351 100644 --- a/.github/workflows/matrix_2.yml +++ b/.github/workflows/matrix_2.yml @@ -27,16 +27,11 @@ jobs: needs: prepare strategy: matrix: - a: [a1, a2, a3] - b: [b1, b2, b3] + a: [a1, a2] + b: [b1, b2] include: - - a: a1 + - d: d1 c: c1 - - a: a1 - b: b1 - d: d1 - - a: a4 - b: b3 # 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 From 291c6eac370b58194f6531840c7014972cff9a7a Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 3 Nov 2021 18:50:55 +0800 Subject: [PATCH 029/110] Update matrix_2.yml --- .github/workflows/matrix_2.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/matrix_2.yml b/.github/workflows/matrix_2.yml index 649d351..29f9e37 100644 --- a/.github/workflows/matrix_2.yml +++ b/.github/workflows/matrix_2.yml @@ -4,9 +4,9 @@ name: use matrix-2 on: # Triggers the workflow on push or pull request events but only for the master branch push: - branches: [ master ] + branches: [ master, dev ] pull_request: - branches: [ master ] + branches: [ master, dev ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From 62c348cbc21759391331fcfd07671f8584e1ed7c Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 8 Nov 2021 10:45:17 +0800 Subject: [PATCH 030/110] Create delete.yml --- .github/workflows/delete.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/delete.yml diff --git a/.github/workflows/delete.yml b/.github/workflows/delete.yml new file mode 100644 index 0000000..580997f --- /dev/null +++ b/.github/workflows/delete.yml @@ -0,0 +1,17 @@ +on: delete + +steps: +- run: | + echo github.action is ${{ github.action }} + echo github.actor is ${{ github.actor }} + echo github.base_ref is ${{ github.base_ref }} + echo github.event_name is ${{ github.event_name }} + echo github.head_ref is ${{ github.head_ref }} + echo github.ref is ${{ github.ref }} + echo github.ref_name is ${{ github.ref_name }} + echo github.ref_protected is ${{ github.ref_protected }} + echo github.ref_type is ${{ github.ref_type }} + echo github.repository is ${{ github.repository }} + echo github.repository_owner is ${{ github.repository_owner }} + echo github.sha is ${{ github.sha }} + echo github.workflow is ${{ github.workflow }} From 5f2562cc944c2bd85a4c34d6deb5e6c9b4fa3f31 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 8 Nov 2021 10:47:05 +0800 Subject: [PATCH 031/110] Update delete.yml --- .github/workflows/delete.yml | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/.github/workflows/delete.yml b/.github/workflows/delete.yml index 580997f..8eaa944 100644 --- a/.github/workflows/delete.yml +++ b/.github/workflows/delete.yml @@ -1,17 +1,20 @@ on: delete -steps: -- run: | - echo github.action is ${{ github.action }} - echo github.actor is ${{ github.actor }} - echo github.base_ref is ${{ github.base_ref }} - echo github.event_name is ${{ github.event_name }} - echo github.head_ref is ${{ github.head_ref }} - echo github.ref is ${{ github.ref }} - echo github.ref_name is ${{ github.ref_name }} - echo github.ref_protected is ${{ github.ref_protected }} - echo github.ref_type is ${{ github.ref_type }} - echo github.repository is ${{ github.repository }} - echo github.repository_owner is ${{ github.repository_owner }} - echo github.sha is ${{ github.sha }} - echo github.workflow is ${{ github.workflow }} +jobs: + test: + runs-on: ubuntu-latest + steps: + - run: | + echo github.action is ${{ github.action }} + echo github.actor is ${{ github.actor }} + echo github.base_ref is ${{ github.base_ref }} + echo github.event_name is ${{ github.event_name }} + echo github.head_ref is ${{ github.head_ref }} + echo github.ref is ${{ github.ref }} + echo github.ref_name is ${{ github.ref_name }} + echo github.ref_protected is ${{ github.ref_protected }} + echo github.ref_type is ${{ github.ref_type }} + echo github.repository is ${{ github.repository }} + echo github.repository_owner is ${{ github.repository_owner }} + echo github.sha is ${{ github.sha }} + echo github.workflow is ${{ github.workflow }} From 67b22907a04f3c6298f90c808e6faff5e07d46db Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 8 Nov 2021 14:38:54 +0800 Subject: [PATCH 032/110] Update context-1.yml --- .github/workflows/context-1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/context-1.yml b/.github/workflows/context-1.yml index a4d087d..9239ff7 100644 --- a/.github/workflows/context-1.yml +++ b/.github/workflows/context-1.yml @@ -3,7 +3,7 @@ on: push jobs: one: - runs-on: ubuntu-16.04 + runs-on: ubuntu-latest steps: - name: Dump GitHub context env: From cbbf1063af02144409f8b3c5aa52f3496bc6590e Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Fri, 12 Nov 2021 14:28:50 +0800 Subject: [PATCH 033/110] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0d24fa..a79b3ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,7 @@ jobs: cat test.txt echo "===========================" + echo ${{ github.head_ref }} - uses: actions/upload-artifact@v2 with: name: my-artifact From 58502525594bd270486ffbfbd41316a1e94ad1da Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Fri, 12 Nov 2021 14:29:24 +0800 Subject: [PATCH 034/110] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a79b3ef..ea11f2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,7 @@ jobs: echo "===========================" echo ${{ github.head_ref }} + - uses: actions/upload-artifact@v2 with: name: my-artifact From 91345073bee0f4fa4240b95770ff9305ca5b8f2b Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Fri, 12 Nov 2021 14:30:52 +0800 Subject: [PATCH 035/110] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea11f2f..9a91764 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: cat test.txt echo "===========================" - echo ${{ github.head_ref }} + echo "github.head_ref is ${{ github.head_ref }}" - uses: actions/upload-artifact@v2 with: From 3b4f21af761a27eabb899995436ff40e79de33fd Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 15 Nov 2021 17:54:22 +0800 Subject: [PATCH 036/110] Create workflow_dispatch.yml --- .github/workflows/workflow_dispatch.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/workflow_dispatch.yml diff --git a/.github/workflows/workflow_dispatch.yml b/.github/workflows/workflow_dispatch.yml new file mode 100644 index 0000000..a2ea3c0 --- /dev/null +++ b/.github/workflows/workflow_dispatch.yml @@ -0,0 +1,20 @@ +name: Manually triggered workflow +on: + workflow_dispatch: + inputs: + name: + description: 'Person to greet' + required: true + default: 'Mona the Octocat' + home: + description: 'location' + required: false + default: 'The Octoverse' + +jobs: + say_hello: + runs-on: ubuntu-latest + steps: + - run: | + echo "Hello ${{ github.event.inputs.name }}!" + echo "- in ${{ github.event.inputs.home }}!" From cea70c237759ebeb7e683335fb13829b346bf6b4 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 15 Nov 2021 18:11:19 +0800 Subject: [PATCH 037/110] Create workflow_call.yml --- .github/workflows/workflow_call.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .github/workflows/workflow_call.yml diff --git a/.github/workflows/workflow_call.yml b/.github/workflows/workflow_call.yml new file mode 100644 index 0000000..fbd4bc2 --- /dev/null +++ b/.github/workflows/workflow_call.yml @@ -0,0 +1,6 @@ +on: workflow_call + +jobs: + test: + steps: + - run: echo github.event is ${{ github.event }} From ae03487d90b8ac442c15fdb1016d3517c66fda3a Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 23 Nov 2021 10:16:40 +0800 Subject: [PATCH 038/110] Update timer.yml --- .github/workflows/timer.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/timer.yml b/.github/workflows/timer.yml index 6734445..41c6e11 100644 --- a/.github/workflows/timer.yml +++ b/.github/workflows/timer.yml @@ -3,10 +3,7 @@ name: CI # Controls when the workflow will run -on: - schedule: - # * is a special character in YAML so you have to quote this string - - cron: '*/5 * * * *' +on: push # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: From d7019f2287271885f8703f50a8959af25ce8aaec Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 13 Dec 2021 21:34:52 +0800 Subject: [PATCH 039/110] Create matrix_4.yml --- .github/workflows/matrix_4.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/matrix_4.yml diff --git a/.github/workflows/matrix_4.yml b/.github/workflows/matrix_4.yml new file mode 100644 index 0000000..11bc5e1 --- /dev/null +++ b/.github/workflows/matrix_4.yml @@ -0,0 +1,15 @@ + +name: build +jobs: + job1: + runs-on: ubuntu-latest + steps: + - id: set-matrix + run: echo "::set-output name=matrix::{\"include\":[{\"project\":\"foo\",\"config\":\"Debug\"},{\"project\":\"bar\",\"config\":\"Release\"}]}" + job2: + depends: job1 + runs-on: ubuntu-latest + strategy: + matrix: ${{fromJSON(depends.job1.outputs.matrix)}} + steps: + - run: echo "project is ${{ matrix.project }}, config is ${{ matrix.config }}" From b1880c65e8fcfde057cb3c71c61779afbe3048be Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 13 Dec 2021 21:37:10 +0800 Subject: [PATCH 040/110] Update matrix_4.yml --- .github/workflows/matrix_4.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/matrix_4.yml b/.github/workflows/matrix_4.yml index 11bc5e1..c23f8fb 100644 --- a/.github/workflows/matrix_4.yml +++ b/.github/workflows/matrix_4.yml @@ -1,3 +1,6 @@ +on: + push: + branches: [ master ] name: build jobs: @@ -7,7 +10,7 @@ jobs: - id: set-matrix run: echo "::set-output name=matrix::{\"include\":[{\"project\":\"foo\",\"config\":\"Debug\"},{\"project\":\"bar\",\"config\":\"Release\"}]}" job2: - depends: job1 + needs: job1 runs-on: ubuntu-latest strategy: matrix: ${{fromJSON(depends.job1.outputs.matrix)}} From 731acbba8e2865f879ab0b77d5f36ea0739f8dfb Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 13 Dec 2021 21:39:03 +0800 Subject: [PATCH 041/110] Update matrix_4.yml --- .github/workflows/matrix_4.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/matrix_4.yml b/.github/workflows/matrix_4.yml index c23f8fb..f6b26cd 100644 --- a/.github/workflows/matrix_4.yml +++ b/.github/workflows/matrix_4.yml @@ -2,7 +2,6 @@ on: push: branches: [ master ] -name: build jobs: job1: runs-on: ubuntu-latest @@ -13,6 +12,6 @@ jobs: needs: job1 runs-on: ubuntu-latest strategy: - matrix: ${{fromJSON(depends.job1.outputs.matrix)}} + matrix: ${{fromJSON(needs.job1.outputs.matrix)}} steps: - run: echo "project is ${{ matrix.project }}, config is ${{ matrix.config }}" From 0981b124aeb2e40956baf893c75eb49e5f1ab041 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 13 Dec 2021 21:40:18 +0800 Subject: [PATCH 042/110] Update matrix_4.yml --- .github/workflows/matrix_4.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/matrix_4.yml b/.github/workflows/matrix_4.yml index f6b26cd..b1c9aa1 100644 --- a/.github/workflows/matrix_4.yml +++ b/.github/workflows/matrix_4.yml @@ -11,7 +11,6 @@ jobs: job2: needs: job1 runs-on: ubuntu-latest - strategy: - matrix: ${{fromJSON(needs.job1.outputs.matrix)}} + strategy: ${{fromJSON(needs.job1.outputs.matrix)}} steps: - run: echo "project is ${{ matrix.project }}, config is ${{ matrix.config }}" From b1976ca91ab8b30ab4630a91b8b291d077ac87a3 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 13 Dec 2021 21:43:06 +0800 Subject: [PATCH 043/110] Update matrix_4.yml --- .github/workflows/matrix_4.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matrix_4.yml b/.github/workflows/matrix_4.yml index b1c9aa1..b4b1d53 100644 --- a/.github/workflows/matrix_4.yml +++ b/.github/workflows/matrix_4.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - id: set-matrix - run: echo "::set-output name=matrix::{\"include\":[{\"project\":\"foo\",\"config\":\"Debug\"},{\"project\":\"bar\",\"config\":\"Release\"}]}" + run: echo ::set-output name=matrix::{"include":[{"project":"foo","config":"Debug"},{"project":"bar","config":"Release"}]} job2: needs: job1 runs-on: ubuntu-latest From 9d922b114c5f386a844bb208955fea91d6bb4902 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 13 Dec 2021 21:45:07 +0800 Subject: [PATCH 044/110] Update matrix_4.yml --- .github/workflows/matrix_4.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matrix_4.yml b/.github/workflows/matrix_4.yml index b4b1d53..84cf16b 100644 --- a/.github/workflows/matrix_4.yml +++ b/.github/workflows/matrix_4.yml @@ -11,6 +11,6 @@ jobs: job2: needs: job1 runs-on: ubuntu-latest - strategy: ${{fromJSON(needs.job1.outputs.matrix)}} + strategy: ${{fromJSON(needs.job1.steps.set-matrix.outputs.matrix)}} steps: - run: echo "project is ${{ matrix.project }}, config is ${{ matrix.config }}" From a37840a916d062bb009fd6f0ab93b468feb80dc1 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 13 Dec 2021 21:48:01 +0800 Subject: [PATCH 045/110] Update matrix_4.yml --- .github/workflows/matrix_4.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/matrix_4.yml b/.github/workflows/matrix_4.yml index 84cf16b..458958e 100644 --- a/.github/workflows/matrix_4.yml +++ b/.github/workflows/matrix_4.yml @@ -11,6 +11,12 @@ jobs: job2: needs: job1 runs-on: ubuntu-latest - strategy: ${{fromJSON(needs.job1.steps.set-matrix.outputs.matrix)}} + steps: + - id: set-matrix + run: echo ${{needs.job1.outputs.matrix}} + job3: + needs: job2 + runs-on: ubuntu-latest + strategy: ${{fromJSON(needs.job1.outputs.matrix)}} steps: - run: echo "project is ${{ matrix.project }}, config is ${{ matrix.config }}" From cd93ffe741cab1c71397fd83936d4fd22cf491dd Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 13 Dec 2021 21:49:59 +0800 Subject: [PATCH 046/110] Update matrix_4.yml --- .github/workflows/matrix_4.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matrix_4.yml b/.github/workflows/matrix_4.yml index 458958e..52565f0 100644 --- a/.github/workflows/matrix_4.yml +++ b/.github/workflows/matrix_4.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - id: set-matrix - run: echo ::set-output name=matrix::{"include":[{"project":"foo","config":"Debug"},{"project":"bar","config":"Release"}]} + run: "echo ::set-output name=matrix::{\"include\":[{\"project\":\"foo\",\"config\":\"Debug\"},{\"project\":\"bar\",\"config\":\"Release\"}]}" job2: needs: job1 runs-on: ubuntu-latest From 9faa0c8edb12b50642572877a4edddaab912432c Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 21 Dec 2021 21:45:47 +0800 Subject: [PATCH 047/110] test --- ReadMe.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ReadMe.md b/ReadMe.md index 7267d83..fe6d2b4 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -4,4 +4,5 @@ hello hello, it is me. hello, it is 20200904. hello, it is release. +111 Require status checks to pass before merging From 2c538b6e4915b130204746c79e0b4e45165e895b Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:22:26 +0800 Subject: [PATCH 048/110] Create issue.yml --- .github/workflows/issue.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/issue.yml diff --git a/.github/workflows/issue.yml b/.github/workflows/issue.yml new file mode 100644 index 0000000..09c4642 --- /dev/null +++ b/.github/workflows/issue.yml @@ -0,0 +1,22 @@ +on: + issues: + types: [opened, edited, milestoned] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - run: | + echo github.action is ${{ github.action }} + echo github.actor is ${{ github.actor }} + echo github.base_ref is ${{ github.base_ref }} + echo github.event_name is ${{ github.event_name }} + echo github.head_ref is ${{ github.head_ref }} + echo github.ref is ${{ github.ref }} + echo github.ref_name is ${{ github.ref_name }} + echo github.ref_protected is ${{ github.ref_protected }} + echo github.ref_type is ${{ github.ref_type }} + echo github.repository is ${{ github.repository }} + echo github.repository_owner is ${{ github.repository_owner }} + echo github.sha is ${{ github.sha }} + echo github.workflow is ${{ github.workflow }} From 6f4cc044b44fce0188b70cbbf00dfb49fe4b6230 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 4 Jan 2022 22:48:09 +0800 Subject: [PATCH 049/110] Update matrix_3.yml --- .github/workflows/matrix_3.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/matrix_3.yml b/.github/workflows/matrix_3.yml index 48ea4b8..0694ec9 100644 --- a/.github/workflows/matrix_3.yml +++ b/.github/workflows/matrix_3.yml @@ -53,3 +53,9 @@ jobs: - run: | echo "targetImageTag is ${{ steps.prepare.outputs.targetImageTag }}" echo "dockerFilePath is ${{ steps.prepare.outputs.dockerFilePath }}" + test: + runs-on: ubuntu-latest + needs: build + steps: + - run: | + echo ${{ needs.build.outputs.targetImageTag }} From e7383ca1ca1ecabd4f092b54f02a88879b2a7cad Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 4 Jan 2022 22:51:40 +0800 Subject: [PATCH 050/110] Update matrix_3.yml --- .github/workflows/matrix_3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matrix_3.yml b/.github/workflows/matrix_3.yml index 0694ec9..9117831 100644 --- a/.github/workflows/matrix_3.yml +++ b/.github/workflows/matrix_3.yml @@ -58,4 +58,4 @@ jobs: needs: build steps: - run: | - echo ${{ needs.build.outputs.targetImageTag }} + echo ${{ needs.build.outputs }} From d48a2105961bdb8626955c3e140d406634981735 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 4 Jan 2022 22:54:30 +0800 Subject: [PATCH 051/110] Update matrix_3.yml --- .github/workflows/matrix_3.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/matrix_3.yml b/.github/workflows/matrix_3.yml index 9117831..3cabc64 100644 --- a/.github/workflows/matrix_3.yml +++ b/.github/workflows/matrix_3.yml @@ -59,3 +59,4 @@ jobs: steps: - run: | echo ${{ needs.build.outputs }} + echo ${{ jobs.build.steps.working-directory }} From 1ef198a5f0386f02ee1e5b73749722aa9acf2b85 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 4 Jan 2022 23:07:10 +0800 Subject: [PATCH 052/110] Update matrix_3.yml --- .github/workflows/matrix_3.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/matrix_3.yml b/.github/workflows/matrix_3.yml index 3cabc64..5a37f06 100644 --- a/.github/workflows/matrix_3.yml +++ b/.github/workflows/matrix_3.yml @@ -59,4 +59,5 @@ jobs: steps: - run: | echo ${{ needs.build.outputs }} - echo ${{ jobs.build.steps.working-directory }} + echo ${{ needs.build.outputs.targetImageTag }} + echo ${{ fromJson(needs.build.outputs) }} From 96dd3d8604b2e14ee783e7c3df8e3d214f030469 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 4 Jan 2022 23:08:38 +0800 Subject: [PATCH 053/110] Update matrix_3.yml --- .github/workflows/matrix_3.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/matrix_3.yml b/.github/workflows/matrix_3.yml index 5a37f06..5c33072 100644 --- a/.github/workflows/matrix_3.yml +++ b/.github/workflows/matrix_3.yml @@ -60,4 +60,3 @@ jobs: - run: | echo ${{ needs.build.outputs }} echo ${{ needs.build.outputs.targetImageTag }} - echo ${{ fromJson(needs.build.outputs) }} From 081234e3d5ef667fc2ba53464069094e8255ad9b Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 5 Jan 2022 11:28:56 +0800 Subject: [PATCH 054/110] Update matrix_3.yml --- .github/workflows/matrix_3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matrix_3.yml b/.github/workflows/matrix_3.yml index 5c33072..21f5cf7 100644 --- a/.github/workflows/matrix_3.yml +++ b/.github/workflows/matrix_3.yml @@ -58,5 +58,5 @@ jobs: needs: build steps: - run: | - echo ${{ needs.build.outputs }} + echo ${{ toJson(needs.build.outputs) }} echo ${{ needs.build.outputs.targetImageTag }} From eaccc7d67cc553768a976869578c785a4f17a923 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 5 Jan 2022 18:27:40 +0800 Subject: [PATCH 055/110] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..27a798a --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,19 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- master + +pool: + vmImage: ubuntu-latest + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' From f0b2eb28d8205399db81659bdfba28cf91b657fb Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 5 Jan 2022 18:30:57 +0800 Subject: [PATCH 056/110] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 27a798a..ad31f81 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,4 +16,4 @@ steps: - script: | echo Add other tasks to build, test, and deploy your project. echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' + displayName: 'Run a multi-line script11' From 1d30acfef855f48aee04c2b8d2db8065204e62c9 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 5 Jan 2022 18:41:04 +0800 Subject: [PATCH 057/110] Update context-1.yml --- .github/workflows/context-1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/context-1.yml b/.github/workflows/context-1.yml index 9239ff7..c6ccb02 100644 --- a/.github/workflows/context-1.yml +++ b/.github/workflows/context-1.yml @@ -9,7 +9,7 @@ jobs: env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" - - name: Dump job context + - name: Dump job context1 env: JOB_CONTEXT: ${{ toJson(job) }} run: echo "$JOB_CONTEXT" From e74dcf9d120993ae42156784498c97957859df72 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 5 Jan 2022 18:42:26 +0800 Subject: [PATCH 058/110] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines1.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines1.yml diff --git a/azure-pipelines1.yml b/azure-pipelines1.yml new file mode 100644 index 0000000..27a798a --- /dev/null +++ b/azure-pipelines1.yml @@ -0,0 +1,19 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- master + +pool: + vmImage: ubuntu-latest + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' From cb4c4d77d3dd1c2a93eb6743edde78a1e19b519a Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 5 Jan 2022 18:43:25 +0800 Subject: [PATCH 059/110] Update azure-pipelines1.yml --- azure-pipelines1.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines1.yml b/azure-pipelines1.yml index 27a798a..bd2dc51 100644 --- a/azure-pipelines1.yml +++ b/azure-pipelines1.yml @@ -16,4 +16,5 @@ steps: - script: | echo Add other tasks to build, test, and deploy your project. echo See https://aka.ms/yaml + echo 111 displayName: 'Run a multi-line script' From a4b2cbd9f9a3b79e46d04d694926cc84ac38fb44 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 5 Jan 2022 20:15:35 +0800 Subject: [PATCH 060/110] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ad31f81..062771b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,4 +16,5 @@ steps: - script: | echo Add other tasks to build, test, and deploy your project. echo See https://aka.ms/yaml + echo 111 displayName: 'Run a multi-line script11' From 4ad314b37b2380fe9974df2645125c55f29d32d7 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 5 Jan 2022 20:17:49 +0800 Subject: [PATCH 061/110] Update azure-pipelines.yml --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 062771b..939e9de 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,6 +5,7 @@ trigger: - master +- "*" pool: vmImage: ubuntu-latest From 11b57818a982674311404e2eaf17910a237c67ef Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 5 Jan 2022 20:23:04 +0800 Subject: [PATCH 062/110] =?UTF-8?q?=E5=9C=A8master=E4=B8=8A=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E8=A7=A6=E5=8F=91=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- azure-pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 939e9de..c4b74a6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,8 +4,7 @@ # https://aka.ms/yaml trigger: -- master -- "*" +- test pool: vmImage: ubuntu-latest From 58ade6eb72055d6a25e896770133d12501c14ee2 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 3 Mar 2022 21:46:24 +0800 Subject: [PATCH 063/110] Update ci.yml --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a91764..e63dad1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: # Runs a set of commands using the runners shell - name: GITHUB envs + id: envs run: | echo "GITHUB_SHA is ${GITHUB_SHA}" echo "GITHUB_REF is ${GITHUB_REF}" @@ -47,6 +48,8 @@ jobs: echo "my TEST_PWD is ${{secrets.TEST_PWD}}" > "test.txt" cat test.txt + echo "::set-output name=a::${{secrets.TEST_PWD}}" + echo "===========================" echo "github.head_ref is ${{ github.head_ref }}" @@ -92,8 +95,12 @@ jobs: test: runs-on: ubuntu-latest name: test + needs: build steps: - - run: echo "hello"; ls -l + - run: | + echo "hello"; ls -l + echo "jobs.build.steps.envs.outputs.a is ${{ jobs.build.steps.envs.outputs.a }}" + commentOnNewIssues: name: Comment On New Issues From 6cf04c20fcb17fa931d33a6dca8fc9012a715bb5 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 3 Mar 2022 21:49:24 +0800 Subject: [PATCH 064/110] Update ci.yml --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e63dad1..c4a78f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,8 +98,9 @@ jobs: needs: build steps: - run: | - echo "hello"; ls -l - echo "jobs.build.steps.envs.outputs.a is ${{ jobs.build.steps.envs.outputs.a }}" + echo "hello" + ls -l + echo "jobs.build.steps.envs.outputs.a is ${{ jobs.build.steps.envs.outputs.a }}" commentOnNewIssues: From 80f8d88cf0abfd0c22a2a8d0a0e628b7e5c6db1a Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 3 Mar 2022 21:52:07 +0800 Subject: [PATCH 065/110] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4a78f7..608543a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,7 +100,7 @@ jobs: - run: | echo "hello" ls -l - echo "jobs.build.steps.envs.outputs.a is ${{ jobs.build.steps.envs.outputs.a }}" + echo " jobs.build.steps.envs.outputs.a is ${{ jobs.build.steps.envs.outputs.a }}" commentOnNewIssues: From 238044952d7c3e7628cef25d818ca086f67b1e66 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 3 Mar 2022 21:53:46 +0800 Subject: [PATCH 066/110] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 608543a..cc3f9a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,7 +100,7 @@ jobs: - run: | echo "hello" ls -l - echo " jobs.build.steps.envs.outputs.a is ${{ jobs.build.steps.envs.outputs.a }}" + echo " needs.build.steps.envs.outputs.a is ${{ needs.build.steps.envs.outputs.a }}" commentOnNewIssues: From a7a2ba95419324fdc884edcd691a53f72f10f562 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 22 Mar 2022 22:05:53 +0800 Subject: [PATCH 067/110] Create concurrency.yml --- .github/workflows/concurrency.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/concurrency.yml diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml new file mode 100644 index 0000000..97910d7 --- /dev/null +++ b/.github/workflows/concurrency.yml @@ -0,0 +1,15 @@ +name: use concurrency + +concurrency: + + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + +steps: +- run: echo "hello" From 22f4f0011d7f8f0bd9759a9436eb1bf2427ad596 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 22 Mar 2022 22:09:11 +0800 Subject: [PATCH 068/110] Update concurrency.yml --- .github/workflows/concurrency.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index 97910d7..9c95980 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -1,6 +1,6 @@ name: use concurrency -concurrency: +concurrency: "" # Controls when the workflow will run @@ -10,6 +10,8 @@ on: branches: [ master ] pull_request: branches: [ master ] - -steps: -- run: echo "hello" +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: echo "hello" From c79381c3c3be8eeea2364cd673b6353fdbf7127c Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 22 Mar 2022 22:11:49 +0800 Subject: [PATCH 069/110] Update concurrency.yml --- .github/workflows/concurrency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index 9c95980..784fd5f 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -1,6 +1,6 @@ name: use concurrency -concurrency: "" +concurrency: ${{ github.ref }} # Controls when the workflow will run From 558f75e5b1a26353324523239a340293936afbe2 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 22 Mar 2022 22:12:18 +0800 Subject: [PATCH 070/110] Update concurrency.yml --- .github/workflows/concurrency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index 784fd5f..fd4c8cc 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -14,4 +14,4 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "hello" + - run: echo "hello 1" From 565a03df057ecddd53b8e24bd2aa2db5b2b3117a Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 22 Mar 2022 22:12:30 +0800 Subject: [PATCH 071/110] Update concurrency.yml --- .github/workflows/concurrency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index fd4c8cc..6931196 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -14,4 +14,4 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "hello 1" + - run: echo "hello 2" From ee37b7fc7e598bfd76bcd9af1be2851e577ba5a0 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 22 Mar 2022 22:12:53 +0800 Subject: [PATCH 072/110] Update concurrency.yml --- .github/workflows/concurrency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index 6931196..895f005 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -14,4 +14,4 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "hello 2" + - run: echo "hello 3" From 823177865decacee7fdc8dbccdac3a552efea2a2 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 22 Mar 2022 22:13:02 +0800 Subject: [PATCH 073/110] Update concurrency.yml --- .github/workflows/concurrency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index 895f005..d595a56 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -14,4 +14,4 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "hello 3" + - run: echo "hello 4" From c6c869b169dc126111f8fa47bd4d0446c8d733a1 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 22 Mar 2022 22:25:45 +0800 Subject: [PATCH 074/110] Create concurrency_1.yml --- .github/workflows/concurrency_1.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/concurrency_1.yml diff --git a/.github/workflows/concurrency_1.yml b/.github/workflows/concurrency_1.yml new file mode 100644 index 0000000..b752943 --- /dev/null +++ b/.github/workflows/concurrency_1.yml @@ -0,0 +1,25 @@ +name: use concurrency + +concurrency: ${{ github.ref }} + + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + paths: + - .github/workflows/concurrency_1.yml + pull_request: + branches: [ master ] + paths: + - .github/workflows/concurrency_1.yml + + +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: | + echo "hello concurrency_1.yml" + sleep 10s From ba49c0af3e1fa34b24b9084b8d563b8f0928bc6f Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 22 Mar 2022 22:26:02 +0800 Subject: [PATCH 075/110] Update concurrency.yml --- .github/workflows/concurrency.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index d595a56..f34dbd2 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -8,6 +8,8 @@ on: # Triggers the workflow on push or pull request events but only for the master branch push: branches: [ master ] + paths: + - .github/workflows/concurrency.yml pull_request: branches: [ master ] jobs: From ec9bc93f4885f27efa7dfdec548ecdcad58ba572 Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 22 Mar 2022 22:31:36 +0800 Subject: [PATCH 076/110] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A7=A6=E5=8F=91?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/blank.yml | 4 ++++ .github/workflows/ci.yml | 4 ++++ .github/workflows/concurrency_1.yml | 2 +- .github/workflows/context-1.yml | 7 ++++++- .github/workflows/matrix_2.yml | 4 ++++ .github/workflows/matrix_3.yml | 4 ++++ .github/workflows/matrix_4.yml | 2 ++ 7 files changed, 25 insertions(+), 2 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 6800e3c..5b23d5d 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -7,8 +7,12 @@ on: # Triggers the workflow on push or pull request events but only for the master branch push: branches: [ master ] + paths: + - .github/workflows/blank.yml pull_request: branches: [ master ] + paths: + - .github/workflows/blank.yml # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc3f9a2..646a7a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,9 +6,13 @@ on: push: branches: - '**' + paths: + - .github/workflows/ci.yml pull_request_target: branches: - 'master' + paths: + - .github/workflows/ci.yml issues: types: [opened] diff --git a/.github/workflows/concurrency_1.yml b/.github/workflows/concurrency_1.yml index b752943..5d000ae 100644 --- a/.github/workflows/concurrency_1.yml +++ b/.github/workflows/concurrency_1.yml @@ -1,4 +1,4 @@ -name: use concurrency +name: use concurrency_1 concurrency: ${{ github.ref }} diff --git a/.github/workflows/context-1.yml b/.github/workflows/context-1.yml index c6ccb02..f192a47 100644 --- a/.github/workflows/context-1.yml +++ b/.github/workflows/context-1.yml @@ -1,5 +1,10 @@ name: P1 -on: push +on: + push: + branches: + - "**" + paths: + - .github/workflows/context-1.yml jobs: one: diff --git a/.github/workflows/matrix_2.yml b/.github/workflows/matrix_2.yml index 29f9e37..4ffebcf 100644 --- a/.github/workflows/matrix_2.yml +++ b/.github/workflows/matrix_2.yml @@ -5,8 +5,12 @@ on: # Triggers the workflow on push or pull request events but only for the master branch push: branches: [ master, dev ] + paths: + - .github/workflows/matrix_2.yml pull_request: branches: [ master, dev ] + paths: + - .github/workflows/matrix_2.yml # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.github/workflows/matrix_3.yml b/.github/workflows/matrix_3.yml index 21f5cf7..b13a38e 100644 --- a/.github/workflows/matrix_3.yml +++ b/.github/workflows/matrix_3.yml @@ -7,8 +7,12 @@ on: # Triggers the workflow on push or pull request events but only for the master branch push: branches: [ master ] + paths: + - .github/workflows/matrix_3.yml pull_request: branches: [ master ] + paths: + - .github/workflows/matrix_3.yml # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.github/workflows/matrix_4.yml b/.github/workflows/matrix_4.yml index 52565f0..b00f1a2 100644 --- a/.github/workflows/matrix_4.yml +++ b/.github/workflows/matrix_4.yml @@ -1,6 +1,8 @@ on: push: branches: [ master ] + paths: + - .github/workflows/matrix_4.yml jobs: job1: From 3e2dc237982dc039f501eedfcfeaea8296aa7769 Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 22 Mar 2022 22:34:30 +0800 Subject: [PATCH 077/110] UPDATE --- .github/workflows/timer.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/timer.yml b/.github/workflows/timer.yml index 41c6e11..13f672d 100644 --- a/.github/workflows/timer.yml +++ b/.github/workflows/timer.yml @@ -3,7 +3,12 @@ name: CI # Controls when the workflow will run -on: push +on: + push: + branches: + - '**' + paths: + - .github/workflows/timer.yml # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: From afba3e162401455e3521a6c8ef89e9b777ec713b Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 22 Mar 2022 22:37:48 +0800 Subject: [PATCH 078/110] =?UTF-8?q?=E5=85=88=E5=8D=A0=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/concurrency_1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency_1.yml b/.github/workflows/concurrency_1.yml index 5d000ae..64e57ee 100644 --- a/.github/workflows/concurrency_1.yml +++ b/.github/workflows/concurrency_1.yml @@ -21,5 +21,5 @@ jobs: runs-on: ubuntu-latest steps: - run: | - echo "hello concurrency_1.yml" + echo "hello concurrency_1.yml " sleep 10s From 019baf4fc71d0828c76e70fadab74d4aa03b8445 Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 22 Mar 2022 22:38:10 +0800 Subject: [PATCH 079/110] =?UTF-8?q?=E6=89=A7=E8=A1=8C=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/concurrency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index f34dbd2..c5387cf 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -16,4 +16,4 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "hello 4" + - run: echo "hello 5" From ad40fcff488364d55009343ee09d223fd09731ce Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 22 Mar 2022 22:41:10 +0800 Subject: [PATCH 080/110] =?UTF-8?q?=E5=85=88=E8=BF=90=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/concurrency_1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency_1.yml b/.github/workflows/concurrency_1.yml index 64e57ee..5d000ae 100644 --- a/.github/workflows/concurrency_1.yml +++ b/.github/workflows/concurrency_1.yml @@ -21,5 +21,5 @@ jobs: runs-on: ubuntu-latest steps: - run: | - echo "hello concurrency_1.yml " + echo "hello concurrency_1.yml" sleep 10s From 3d8720a81bd4518be7199af3c6d9f5d8352ab494 Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 22 Mar 2022 22:42:03 +0800 Subject: [PATCH 081/110] =?UTF-8?q?=E5=90=8C=E6=A0=B7=E7=9A=84=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/concurrency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index c5387cf..1c8bf9e 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -16,4 +16,4 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "hello 5" + - run: echo "hello 6" From b60a3e4c033bdde39f0649fade4d3d620d3568e5 Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 22 Mar 2022 22:42:56 +0800 Subject: [PATCH 082/110] 111 --- .github/workflows/concurrency_1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency_1.yml b/.github/workflows/concurrency_1.yml index 5d000ae..64e57ee 100644 --- a/.github/workflows/concurrency_1.yml +++ b/.github/workflows/concurrency_1.yml @@ -21,5 +21,5 @@ jobs: runs-on: ubuntu-latest steps: - run: | - echo "hello concurrency_1.yml" + echo "hello concurrency_1.yml " sleep 10s From eed9cc1b4fe56bd52d1e61ebeded5a48d4619e34 Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 22 Mar 2022 22:43:14 +0800 Subject: [PATCH 083/110] 7 --- .github/workflows/concurrency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index 1c8bf9e..1be7feb 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -16,4 +16,4 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "hello 6" + - run: echo "hello 7" From 1db4ca48881a44d6eb484650f80c79c37360711d Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 22 Mar 2022 22:44:09 +0800 Subject: [PATCH 084/110] 30s --- .github/workflows/concurrency_1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency_1.yml b/.github/workflows/concurrency_1.yml index 64e57ee..5e07b5c 100644 --- a/.github/workflows/concurrency_1.yml +++ b/.github/workflows/concurrency_1.yml @@ -22,4 +22,4 @@ jobs: steps: - run: | echo "hello concurrency_1.yml " - sleep 10s + sleep 30s From aa23e18f31cc58e60e713c9118cc0fe6b91a1a27 Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 22 Mar 2022 22:44:26 +0800 Subject: [PATCH 085/110] 8 --- .github/workflows/concurrency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index 1be7feb..4638034 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -16,4 +16,4 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "hello 7" + - run: echo "hello 8" From e582e4de8aadb99b10fc817c713d2e82b455728e Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 22 Mar 2022 22:45:53 +0800 Subject: [PATCH 086/110] 60s --- .github/workflows/concurrency_1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency_1.yml b/.github/workflows/concurrency_1.yml index 5e07b5c..42682c6 100644 --- a/.github/workflows/concurrency_1.yml +++ b/.github/workflows/concurrency_1.yml @@ -22,4 +22,4 @@ jobs: steps: - run: | echo "hello concurrency_1.yml " - sleep 30s + sleep 60s From 38f050029413cb1d81c74f2a8445aff1315efbe9 Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 22 Mar 2022 22:46:07 +0800 Subject: [PATCH 087/110] 999 --- .github/workflows/concurrency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index 4638034..61a39bb 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -16,4 +16,4 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "hello 8" + - run: echo "hello 9" From 2526055fe5c3541fc1cb4e866cd5cbe585a85701 Mon Sep 17 00:00:00 2001 From: fayewang Date: Tue, 22 Mar 2022 22:46:40 +0800 Subject: [PATCH 088/110] 10 --- .github/workflows/concurrency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index 61a39bb..40ec1d1 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -16,4 +16,4 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "hello 9" + - run: echo "hello 10" From eca514aa827f98f37020b30e4e899bed136f8a78 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 24 Mar 2022 18:13:57 +0800 Subject: [PATCH 089/110] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 646a7a2..14425bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,7 @@ jobs: echo "my TEST_PWD is ${{secrets.TEST_PWD}}" > "test.txt" cat test.txt - echo "::set-output name=a::${{secrets.TEST_PWD}}" + echo "::set-output name=a::test___${{secrets.TEST_PWD}}" echo "===========================" echo "github.head_ref is ${{ github.head_ref }}" From 7a0812280484fa24b18b4219e3cbb727ae00d8f9 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 24 Mar 2022 21:02:54 +0800 Subject: [PATCH 090/110] Update ci.yml --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14425bf..67d9d62 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,7 @@ jobs: cat test.txt echo "::set-output name=a::test___${{secrets.TEST_PWD}}" + echo "::set-output name=b::test___123456}}" echo "===========================" echo "github.head_ref is ${{ github.head_ref }}" @@ -105,6 +106,7 @@ jobs: echo "hello" ls -l echo " needs.build.steps.envs.outputs.a is ${{ needs.build.steps.envs.outputs.a }}" + echo " needs.build.steps.envs.outputs.b is ${{ needs.build.steps.envs.outputs.b }}" commentOnNewIssues: From 4382ded7528b7f1eac8c343cf41a91e8930b3c38 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 24 Mar 2022 21:05:02 +0800 Subject: [PATCH 091/110] Update ci.yml --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67d9d62..2097b0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,7 @@ jobs: echo "::set-output name=a::test___${{secrets.TEST_PWD}}" echo "::set-output name=b::test___123456}}" + echo "::set-output name=c::test" echo "===========================" echo "github.head_ref is ${{ github.head_ref }}" @@ -99,7 +100,7 @@ jobs: test: runs-on: ubuntu-latest - name: test + name: show pre-step output needs: build steps: - run: | @@ -107,6 +108,7 @@ jobs: ls -l echo " needs.build.steps.envs.outputs.a is ${{ needs.build.steps.envs.outputs.a }}" echo " needs.build.steps.envs.outputs.b is ${{ needs.build.steps.envs.outputs.b }}" + echo " needs.build.steps.envs.outputs.c is ${{ needs.build.steps.envs.outputs.c }}" commentOnNewIssues: From 681f3e18807135520e7b150a30e5e86b05122eaf Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 24 Mar 2022 21:11:21 +0800 Subject: [PATCH 092/110] Update ci.yml --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2097b0d..0b34e75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,9 +106,9 @@ jobs: - run: | echo "hello" ls -l - echo " needs.build.steps.envs.outputs.a is ${{ needs.build.steps.envs.outputs.a }}" - echo " needs.build.steps.envs.outputs.b is ${{ needs.build.steps.envs.outputs.b }}" - echo " needs.build.steps.envs.outputs.c is ${{ needs.build.steps.envs.outputs.c }}" + echo " job.build.steps.envs.outputs.a is ${{ job.build.steps.envs.outputs.a }}" + echo " job.build.steps.envs.outputs.b is ${{ job.build.steps.envs.outputs.b }}" + echo " job.build.steps.envs.outputs.c is ${{ job.build.steps.envs.outputs.c }}" commentOnNewIssues: From 25d8ff59cb58259a29d27038d9b769e4064f33b6 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 24 Mar 2022 21:33:07 +0800 Subject: [PATCH 093/110] Update ci.yml --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b34e75..2f47d39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: # Runs a set of commands using the runners shell - name: GITHUB envs - id: envs + id: step_var run: | echo "GITHUB_SHA is ${GITHUB_SHA}" echo "GITHUB_REF is ${GITHUB_REF}" @@ -54,7 +54,7 @@ jobs: echo "::set-output name=a::test___${{secrets.TEST_PWD}}" echo "::set-output name=b::test___123456}}" - echo "::set-output name=c::test" + echo "::set-output name=c::这是个c" echo "===========================" echo "github.head_ref is ${{ github.head_ref }}" @@ -106,9 +106,9 @@ jobs: - run: | echo "hello" ls -l - echo " job.build.steps.envs.outputs.a is ${{ job.build.steps.envs.outputs.a }}" - echo " job.build.steps.envs.outputs.b is ${{ job.build.steps.envs.outputs.b }}" - echo " job.build.steps.envs.outputs.c is ${{ job.build.steps.envs.outputs.c }}" + echo " job.build.steps.step_var.outputs.a is ${{ job.build.steps.step_var.outputs.a }}" + echo " job.build.steps.step_var.outputs.b is ${{ job.build.steps.step_var.outputs.b }}" + echo " job.build.steps.step_var.outputs.c is ${{ job.build.steps.step_var.outputs.c }}" commentOnNewIssues: From 33b6103dc058b0a458e2eaed1461010c773b63bf Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 24 Mar 2022 21:37:20 +0800 Subject: [PATCH 094/110] Update ci.yml --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f47d39..cbe0e1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,10 @@ jobs: # Runs a single command using the runners shell - name: 查看文件 - run: ls -l + id: step_var_1 + run: | + ls -l + echo "::set-output name=d::这是个d" # Runs a set of commands using the runners shell - name: GITHUB envs @@ -109,6 +112,9 @@ jobs: echo " job.build.steps.step_var.outputs.a is ${{ job.build.steps.step_var.outputs.a }}" echo " job.build.steps.step_var.outputs.b is ${{ job.build.steps.step_var.outputs.b }}" echo " job.build.steps.step_var.outputs.c is ${{ job.build.steps.step_var.outputs.c }}" + echo " needs.build.steps.step_var.outputs.c is ${{ needs.build.steps.step_var.outputs.c }}" + + echo " needs.build.steps.step_var_1.outputs.d is ${{ needs.build.steps.step_var_1.outputs.d }}" commentOnNewIssues: From 2cba2c7da0292d06c85d389a458e515403d56604 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 24 Mar 2022 21:51:08 +0800 Subject: [PATCH 095/110] Update ci.yml --- .github/workflows/ci.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbe0e1d..23dc66f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,15 +29,15 @@ jobs: - uses: actions/checkout@v2 # Runs a single command using the runners shell - - name: 查看文件 - id: step_var_1 + - name: 查看文件,set d + id: s1 run: | ls -l echo "::set-output name=d::这是个d" # Runs a set of commands using the runners shell - - name: GITHUB envs - id: step_var + - name: GITHUB envs,set a|b|c + id: s2 run: | echo "GITHUB_SHA is ${GITHUB_SHA}" echo "GITHUB_REF is ${GITHUB_REF}" @@ -99,6 +99,11 @@ jobs: env: RUNNER_CONTEXT: ${{ toJson(runner) }} run: echo "$RUNNER_CONTEXT" + outputs: + a: ${{ steps.s2.outputs.a }} + b: ${{ steps.s2.outputs.b }} + c: ${{ steps.s2.outputs.c }} + d: ${{ steps.s1.outputs.d }} test: @@ -109,12 +114,12 @@ jobs: - run: | echo "hello" ls -l - echo " job.build.steps.step_var.outputs.a is ${{ job.build.steps.step_var.outputs.a }}" - echo " job.build.steps.step_var.outputs.b is ${{ job.build.steps.step_var.outputs.b }}" - echo " job.build.steps.step_var.outputs.c is ${{ job.build.steps.step_var.outputs.c }}" - echo " needs.build.steps.step_var.outputs.c is ${{ needs.build.steps.step_var.outputs.c }}" + echo " job.build.outputs.a is ${{ job.build.outputs.a }}" + echo " job.build.outputs.b is ${{ job.build.outputs.b }}" + echo " job.build.outputs.c is ${{ job.build.outputs.c }}" + echo " needs.build.outputs.c is ${{ needs.build.outputs.c }}" - echo " needs.build.steps.step_var_1.outputs.d is ${{ needs.build.steps.step_var_1.outputs.d }}" + echo " needs.build.outputs.d is ${{ needs.build.outputs.d }}" commentOnNewIssues: From 4d04877908d4f9f6b452e4e9e224015578f1d43b Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 24 Mar 2022 21:53:35 +0800 Subject: [PATCH 096/110] Update ci.yml --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23dc66f..5dd8f6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,9 +114,8 @@ jobs: - run: | echo "hello" ls -l - echo " job.build.outputs.a is ${{ job.build.outputs.a }}" - echo " job.build.outputs.b is ${{ job.build.outputs.b }}" - echo " job.build.outputs.c is ${{ job.build.outputs.c }}" + echo " needs.build.outputs.a is ${{ needs.build.outputs.a }}" + echo " needs.build.outputs.b is ${{ needs.build.outputs.b }}" echo " needs.build.outputs.c is ${{ needs.build.outputs.c }}" echo " needs.build.outputs.d is ${{ needs.build.outputs.d }}" From 433c431428e0ee45dff06c0c283b33e8f14a5ec3 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 24 Mar 2022 22:08:02 +0800 Subject: [PATCH 097/110] 11111 --- .github/workflows/concurrency_1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency_1.yml b/.github/workflows/concurrency_1.yml index 42682c6..5d3c75d 100644 --- a/.github/workflows/concurrency_1.yml +++ b/.github/workflows/concurrency_1.yml @@ -22,4 +22,4 @@ jobs: steps: - run: | echo "hello concurrency_1.yml " - sleep 60s + sleep 120s From a9e611360cb71eb03e38902cfe77ced153ecf395 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 24 Mar 2022 22:08:26 +0800 Subject: [PATCH 098/110] 22222 --- .github/workflows/concurrency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index 40ec1d1..d21f6b4 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -16,4 +16,4 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "hello 10" + - run: echo "hello 100" From bd21dde445014657df034b1cbe6d6eac509e69b4 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 24 Mar 2022 22:08:49 +0800 Subject: [PATCH 099/110] Update concurrency_1.yml --- .github/workflows/concurrency_1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency_1.yml b/.github/workflows/concurrency_1.yml index 5d3c75d..8413379 100644 --- a/.github/workflows/concurrency_1.yml +++ b/.github/workflows/concurrency_1.yml @@ -21,5 +21,5 @@ jobs: runs-on: ubuntu-latest steps: - run: | - echo "hello concurrency_1.yml " + echo "hello concurrency_1.yml" sleep 120s From dd59a82b17b20425ed21abe9290d3c033847e1ae Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Thu, 24 Mar 2022 22:09:32 +0800 Subject: [PATCH 100/110] 33333 --- .github/workflows/concurrency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/concurrency.yml b/.github/workflows/concurrency.yml index d21f6b4..736870a 100644 --- a/.github/workflows/concurrency.yml +++ b/.github/workflows/concurrency.yml @@ -11,7 +11,7 @@ on: paths: - .github/workflows/concurrency.yml pull_request: - branches: [ master ] + branches: [ master] jobs: build: runs-on: ubuntu-latest From 9f454e1425806b7de69b228f6533c960fbcbb2ab Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 13 Apr 2022 14:54:01 +0800 Subject: [PATCH 101/110] Create command.yml --- .github/workflows/command.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/command.yml diff --git a/.github/workflows/command.yml b/.github/workflows/command.yml new file mode 100644 index 0000000..e34b03f --- /dev/null +++ b/.github/workflows/command.yml @@ -0,0 +1,26 @@ +name: use command + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + paths: + - .github/workflows/command.yml + pull_request: + branches: [ master] +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: | + content=$(ls -l ..) + echo "$content" + content="${content//'%'/'%25'}" + content="${content//$'\n'/'%0A'}" + content="${content//$'\r'/'%0D'}" + echo "::set-output name=content::$content" + id: prepare + - run: | + echo steps.prepare.outputs.content is ${{ steps.prepare.outputs.content }} + From 872d531fe8a79c0e0d2b42fc94ffbf9126c233bd Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 13 Apr 2022 14:57:50 +0800 Subject: [PATCH 102/110] Update command.yml --- .github/workflows/command.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/command.yml b/.github/workflows/command.yml index e34b03f..1e71f65 100644 --- a/.github/workflows/command.yml +++ b/.github/workflows/command.yml @@ -22,5 +22,5 @@ jobs: echo "::set-output name=content::$content" id: prepare - run: | - echo steps.prepare.outputs.content is ${{ steps.prepare.outputs.content }} + echo "steps.prepare.outputs.content is ${{ steps.prepare.outputs.content }}" From 308f719ed6eba02cf7951cf23c1d61ca3bfd883b Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 27 Jun 2022 12:12:07 +0800 Subject: [PATCH 103/110] 123 --- .github/workflows/context-1.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/context-1.yml b/.github/workflows/context-1.yml index f192a47..2898cf6 100644 --- a/.github/workflows/context-1.yml +++ b/.github/workflows/context-1.yml @@ -13,7 +13,9 @@ jobs: - name: Dump GitHub context env: GITHUB_CONTEXT: ${{ toJson(github) }} - run: echo "$GITHUB_CONTEXT" + run: | + echo "$GITHUB_CONTEXT" + echo ${{ github.aaaaa }} - name: Dump job context1 env: JOB_CONTEXT: ${{ toJson(job) }} From 1c60af1cf05962b5b4858b57c36d7f1b66a510c3 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 27 Jun 2022 12:13:48 +0800 Subject: [PATCH 104/110] Update context-1.yml --- .github/workflows/context-1.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/context-1.yml b/.github/workflows/context-1.yml index 2898cf6..863fadc 100644 --- a/.github/workflows/context-1.yml +++ b/.github/workflows/context-1.yml @@ -16,6 +16,7 @@ jobs: run: | echo "$GITHUB_CONTEXT" echo ${{ github.aaaaa }} + - name: Dump job context1 env: JOB_CONTEXT: ${{ toJson(job) }} From d6255658a64f1b8a294692708cabf3817cbac68a Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 27 Jun 2022 12:15:04 +0800 Subject: [PATCH 105/110] Update context-1.yml --- .github/workflows/context-1.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/context-1.yml b/.github/workflows/context-1.yml index 863fadc..983deee 100644 --- a/.github/workflows/context-1.yml +++ b/.github/workflows/context-1.yml @@ -14,8 +14,10 @@ jobs: env: GITHUB_CONTEXT: ${{ toJson(github) }} run: | - echo "$GITHUB_CONTEXT" + # echo "$GITHUB_CONTEXT" + echo "111111111111" echo ${{ github.aaaaa }} + echo "2222222222222" - name: Dump job context1 env: From 1755e831edc77518c90b5feb769f1c5f54fc4a66 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Mon, 27 Jun 2022 12:16:17 +0800 Subject: [PATCH 106/110] Update context-1.yml --- .github/workflows/context-1.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/context-1.yml b/.github/workflows/context-1.yml index 983deee..eb0c5e4 100644 --- a/.github/workflows/context-1.yml +++ b/.github/workflows/context-1.yml @@ -17,6 +17,7 @@ jobs: # echo "$GITHUB_CONTEXT" echo "111111111111" echo ${{ github.aaaaa }} + echo ${{ github['aaaaa'] }} echo "2222222222222" - name: Dump job context1 From 7d11ad484c0813f3e5b9f75ffe37bf4ad044a127 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Wed, 19 Oct 2022 16:50:23 +0800 Subject: [PATCH 107/110] Update ReadMe.md --- ReadMe.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ReadMe.md b/ReadMe.md index fe6d2b4..d7da85a 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -6,3 +6,6 @@ hello, it is 20200904. hello, it is release. 111 Require status checks to pass before merging + + +![stream](https://ci.tencent.com/pipeline/stream/api/external/stream/projects/github_189153491/pipelines/badge?file_path=.ci/pr_check.yml&branch=master) From 3850a36958039a87329ca86854b891a5fcd0cb99 Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Fri, 25 Nov 2022 15:20:11 +0800 Subject: [PATCH 108/110] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5dd8f6d..7717bb7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -131,4 +131,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - args: comment "Hello World1" number 1 + args: comment "Hello World" number 1 From f710c22e923c80e1dba3b0290592c78ec2eb8fda Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 3 Jan 2023 20:09:23 +0800 Subject: [PATCH 109/110] Update ReadMe.md --- ReadMe.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ReadMe.md b/ReadMe.md index d7da85a..2f97d1f 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -9,3 +9,5 @@ Require status checks to pass before merging ![stream](https://ci.tencent.com/pipeline/stream/api/external/stream/projects/github_189153491/pipelines/badge?file_path=.ci/pr_check.yml&branch=master) + + From 420dd6c145196ddd56a3507471adf202f38beb6f Mon Sep 17 00:00:00 2001 From: fayewong-v5 <54432927+fayewong-v5@users.noreply.github.com> Date: Tue, 18 Apr 2023 19:56:27 +0800 Subject: [PATCH 110/110] Update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index d373a14..78cbc84 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -requests>=2.10.0 +requests==2.10.0