Browse Source

try again

Le Tan 5 năm trước cách đây
mục cha
commit
86a730853a
2 tập tin đã thay đổi với 8 bổ sung10 xóa
  1. 4 5
      .github/workflows/ci-linux.yml
  2. 4 5
      .github/workflows/ci-win.yml

+ 4 - 5
.github/workflows/ci-linux.yml

@@ -119,11 +119,10 @@ jobs:
 
       - name: Update Tag
         if: github.ref == 'refs/heads/master'
-        uses: EndBug/latest-tag@latest
-        with:
-          tag-name: continuous-build
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        shell: bash
+        run: |
+          git tag --force continuous-build ${GITHUB_SHA}
+          git push --force --tags
 
       - name: Update Continuous Build Release
         if: github.ref == 'refs/heads/master'

+ 4 - 5
.github/workflows/ci-win.yml

@@ -107,11 +107,10 @@ jobs:
 
       - name: Update Tag
         if: github.ref == 'refs/heads/master'
-        uses: EndBug/latest-tag@latest
-        with:
-          tag-name: continuous-build
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        shell: bash
+        run: |
+          git tag --force continuous-build ${GITHUB_SHA}
+          git push --force --tags
 
       - name: Update Continuous Build Release
         if: github.ref == 'refs/heads/master'