Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 6327767

Browse files
committed
Test release action
1 parent 107b6d1 commit 6327767

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: release wheel
2+
3+
defaults:
4+
run:
5+
shell: bash -leo pipefail {0}
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9+
cancel-in-progress: true
10+
11+
on:
12+
pull_request:
13+
branches:
14+
- main
15+
16+
jobs:
17+
release-wheel:
18+
runs-on: 'ubuntu-latest'
19+
permissions:
20+
id-token: write
21+
contents: write
22+
steps:
23+
- name: Download artifact
24+
uses: actions/download-artifact@v4
25+
with:
26+
name: build_artifact_finch_mlir
27+
path: dist
28+
github-token: ${{ secrets.GITHUB_TOKEN }}
29+
repository: nullplay/Finch-mlir
30+
run-id: 11392793236
31+
32+
- name: Release current commit
33+
uses: ncipollo/release-action@v1
34+
with:
35+
artifacts: 'dist/*.whl'
36+
token: ${{ secrets.GITHUB_TOKEN }}
37+
tag: latest
38+
name: latest
39+
body: Latest release
40+
removeArtifacts: false
41+
allowUpdates: true
42+
replacesArtifacts: true
43+
makeLatest: true
44+
artifactErrorsFailBuild: true

0 commit comments

Comments
 (0)