Skip to content

Commit

Permalink
CI: add job that automatically updates the development release
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom94 committed Jan 8, 2023
1 parent 9b04bc6 commit b04280e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,27 @@ jobs:
scripts/colmap2nerf.py
scripts/nsvf2nerf.py
scripts/record3d2nerf.py
continuous_release:
name: "Update continuous development release"
runs-on: ubuntu-latest
permissions:
contents: write
needs: [build_windows]
if: github.ref == 'refs/heads/master'
steps:
- name: Grab binary artifacts
uses: actions/download-artifact@v3
- name: Package
run: for i in "*/"; do zip -r "${i%/}.zip" "$i"; done
- name: Update release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "*.zip"
commit: "${{ github.sha }}"
omitBody: true
omitName: true
omitPrereleaseDuringUpdate: true
tag: "continuous"
updateOnlyUnreleased: true

0 comments on commit b04280e

Please sign in to comment.