Skip to content

Commit

Permalink
release nightly (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj authored Oct 31, 2023
1 parent 3bc65c9 commit e42851c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/commit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Commit CI
on:
push:
branches:
- '*'
- '!master'
tags:
- '![0-9]+.*'
pull_request:
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ name: Release CI

on:
push:
branches:
- master
tags:
- '[0-9]+.*'
workflow_dispatch:

jobs:
linux:
Expand All @@ -27,7 +30,19 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v3

- name: Create GitHub release
- name: Create Nightly release
if: ${{ github.ref == 'refs/heads/master' }}
uses: 'marvinpinto/action-automatic-releases@latest'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest
prerelease: true
title: "Nightly Build"
files: |
artifact/*
- name: Create Stable release
if: ${{ github.ref != 'refs/heads/master' }}
uses: 'marvinpinto/action-automatic-releases@latest'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit e42851c

Please sign in to comment.