From f2e6196a541dbcf90f59c9bd4b3992dd8bebe97b Mon Sep 17 00:00:00 2001 From: zyLiu-aftership <84337467+zyLiu-aftership@users.noreply.github.com> Date: Sat, 22 May 2021 10:40:47 +0800 Subject: [PATCH 1/2] Create github-actions-demo.yml --- .github/workflow/github-actions-demo.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflow/github-actions-demo.yml diff --git a/.github/workflow/github-actions-demo.yml b/.github/workflow/github-actions-demo.yml new file mode 100644 index 0000000..711d62e --- /dev/null +++ b/.github/workflow/github-actions-demo.yml @@ -0,0 +1,17 @@ +name: GitHub Actions Demo +on: [push] +jobs: + Explore-GitHub-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v2 + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." From bf44259af1807bbbc3b3a7db4dd2a34140ad165b Mon Sep 17 00:00:00 2001 From: "zy.liu" Date: Sat, 22 May 2021 10:46:51 +0800 Subject: [PATCH 2/2] add a txt file to start cicd --- github-actions-demo.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 github-actions-demo.txt diff --git a/github-actions-demo.txt b/github-actions-demo.txt new file mode 100644 index 0000000..6951322 --- /dev/null +++ b/github-actions-demo.txt @@ -0,0 +1 @@ +推送了这个文件走cicd \ No newline at end of file