From 07336785f42d3fa786fd135e68a9a1172db2538e Mon Sep 17 00:00:00 2001 From: TianKai Ma Date: Wed, 17 Apr 2024 19:08:56 +0800 Subject: [PATCH] feat: push ci_latest tag each time a commit is pushed --- .github/workflows/build.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4fc076d..3e7b08f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,6 +10,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - uses: rickstaa/action-create-tag@v1 + if: github.ref_type != 'tag' + with: + tag: "ci_latest" + tag_exists_error: false + force_push_tag: true - uses: typst-community/setup-typst@v3 - name: Run run: | @@ -29,4 +35,4 @@ jobs: if: github.ref_type == 'tag' with: name: "${{ github.ref_name }} — ${{ env.DATE }}" - files: "./build/*" \ No newline at end of file + files: "./build/*"