mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Updating workflows (#2344)
This commit is contained in:
parent
7a7f1240bc
commit
08d16218f2
12
.github/workflows/develop-workflow.yml
vendored
12
.github/workflows/develop-workflow.yml
vendored
@ -1,17 +1,17 @@
|
||||
name: Nightly Workflow
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: '**'
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
- develop
|
||||
- '!release/**'
|
||||
branches: [ develop, '!release/**' ]
|
||||
types: [ closed ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Upload Kavita.Common for Version Bump
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop') }}
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v3
|
||||
@ -27,6 +27,7 @@ jobs:
|
||||
name: Bump version
|
||||
needs: [ build ]
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop') }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@ -48,6 +49,7 @@ jobs:
|
||||
name: Build Nightly Docker
|
||||
needs: [ build, version ]
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop') }}
|
||||
permissions:
|
||||
packages: write
|
||||
contents: read
|
||||
|
6
.github/workflows/release-workflow.yml
vendored
6
.github/workflows/release-workflow.yml
vendored
@ -2,10 +2,8 @@ name: Release Workflow
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
- 'release/**'
|
||||
branches: [ release/** ]
|
||||
types: [ closed ]
|
||||
|
||||
jobs:
|
||||
if_merged:
|
||||
|
Loading…
x
Reference in New Issue
Block a user