Skip to content

Commit b04280e

Browse files
committed
CI: add job that automatically updates the development release
1 parent 9b04bc6 commit b04280e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Diff for: .github/workflows/main.yml

+24
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,27 @@ jobs:
151151
scripts/colmap2nerf.py
152152
scripts/nsvf2nerf.py
153153
scripts/record3d2nerf.py
154+
155+
continuous_release:
156+
name: "Update continuous development release"
157+
runs-on: ubuntu-latest
158+
permissions:
159+
contents: write
160+
needs: [build_windows]
161+
if: github.ref == 'refs/heads/master'
162+
steps:
163+
- name: Grab binary artifacts
164+
uses: actions/download-artifact@v3
165+
- name: Package
166+
run: for i in "*/"; do zip -r "${i%/}.zip" "$i"; done
167+
- name: Update release
168+
uses: ncipollo/release-action@v1
169+
with:
170+
allowUpdates: true
171+
artifacts: "*.zip"
172+
commit: "${{ github.sha }}"
173+
omitBody: true
174+
omitName: true
175+
omitPrereleaseDuringUpdate: true
176+
tag: "continuous"
177+
updateOnlyUnreleased: true

0 commit comments

Comments
 (0)