Przeglądaj źródła

CI: Update git-cliff action to v4 (#74)

* CI: Update git-cliff action to v4

#### Problem

The v3 git-cliff action is very out of date, but still being used by this repo.

#### Summary of changes

Bump the git-cliff action version to v4.

* Fixup yaml
Jon C 2 miesięcy temu
rodzic
commit
50ad3b0797
1 zmienionych plików z 2 dodań i 5 usunięć
  1. 2 5
      .github/workflows/publish-rust.yml

+ 2 - 5
.github/workflows/publish-rust.yml

@@ -165,13 +165,10 @@ jobs:
 
       - name: Generate a changelog
         if: github.event.inputs.create_release == 'true'
-        uses: orhun/git-cliff-action@v3
+        uses: orhun/git-cliff-action@v4
         with:
           config: "scripts/cliff.toml"
-          args: |
-            "${{ steps.publish.outputs.old_git_tag }}"..main
-            --include-path "${{ inputs.package_path }}/**"
-            --github-repo "${{ github.repository }}"
+          args: ${{ steps.publish.outputs.old_git_tag }}..HEAD --include-path "${{ inputs.package_path }}/**" --github-repo ${{ github.repository }}
         env:
           OUTPUT: TEMP_CHANGELOG.md
           GITHUB_REPO: ${{ github.repository }}