Procházet zdrojové kódy

Merge pull request #206 from ekangmonyet/master

Cleanup redundant workflow step, fix release body and timestamp
Jim Huang před 1 rokem
rodič
revize
f1e60b0a01
1 změnil soubory, kde provedl 6 přidání a 8 odebrání
  1. 6 8
      .github/workflows/build-deploy-assets.yaml

+ 6 - 8
.github/workflows/build-deploy-assets.yaml

@@ -18,16 +18,14 @@ jobs:
           make all
           make all
           make html
           make html
           tar zcvf lkmpg-html.tar.gz ./html
           tar zcvf lkmpg-html.tar.gz ./html
-      - name: Delete old release asset
-        uses: mknejp/delete-release-assets@v1
+      - name: Delete old release
+        uses: cb80/delrel@latest
         with:
         with:
-          token: ${{ github.token }}
-          fail-if-no-assets: false
-          fail-if-no-release: false
           tag: latest
           tag: latest
-          assets: |
-            lkmpg.pdf
-            lkmpg-html.tar.gz
+      - name: Tag
+        run: |
+          git tag latest
+          git push -f --tags
       - name: Release
       - name: Release
         uses: softprops/action-gh-release@v0.1.15
         uses: softprops/action-gh-release@v0.1.15
         with:
         with: