Skip to content

Commit

Permalink
Replace unmaintained create-release action (#3905)
Browse files Browse the repository at this point in the history
This replaces the `actions/create-release` with
`ncipollo/release-action` as the former is unmaintained.
  • Loading branch information
marbre authored Dec 10, 2024
1 parent 59b3614 commit 31b912e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/oneshotSnapshotPackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,15 @@ jobs:

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1.14.0
with:
tag_name: ${{ env.tag_name }}
release_name: torch-mlir snapshot ${{ env.tag_name }}
tag: ${{ env.tag_name }}
name: torch-mlir snapshot ${{ env.tag_name }}
body: |
Automatic snapshot release of torch-mlir.
draft: true
prerelease: false
token: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}

- name: "Invoke workflow :: Build and Test"
uses: benc-uk/workflow-dispatch@v1
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/releaseSnapshotPackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,15 @@ jobs:

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1.14.0
with:
tag_name: ${{ env.tag_name }}
release_name: torch-mlir snapshot ${{ env.tag_name }}
tag: ${{ env.tag_name }}
name: torch-mlir snapshot ${{ env.tag_name }}
body: |
Automatic snapshot release of torch-mlir.
draft: true
prerelease: false
token: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}

- name: "Invoke workflow :: Build and Test"
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4
Expand Down

0 comments on commit 31b912e

Please sign in to comment.