Skip to content

Commit b7b3ce4

Browse files
authored
Add nightly release step to CI workflow (#2704)
1 parent 0b97a94 commit b7b3ce4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ccpp.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,16 @@ jobs:
5151
- name: make check-enzyme-integration
5252
working-directory: build
5353
run: make -j `nproc` check-enzyme-integration
54+
55+
- name: Update Nightly Release
56+
uses: ncipollo/release-action@v1
57+
if: ${{ !cancelled() && github.ref == 'refs/heads/main' }}
58+
with:
59+
tag: nightly
60+
name: Nightly Release
61+
body: "Latest nightly build of Enzyme."
62+
artifacts: "build/Enzyme/LLVMEnzyme-${{ matrix.llvm }}*,build/Enzyme/ClangEnzyme-${{ matrix.llvm }},build/Enzyme/LLDEnzyme-${{ matrix.llvm }}"
63+
allowUpdates: true
64+
removeArtifacts: false
65+
replacesArtifacts: true
66+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)