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
|
name: Nightly Workflow
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches: '**'
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
branches: [ develop, '!release/**' ]
|
||||||
- closed
|
types: [ closed ]
|
||||||
branches:
|
|
||||||
- develop
|
|
||||||
- '!release/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Upload Kavita.Common for Version Bump
|
name: Upload Kavita.Common for Version Bump
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop') }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -27,6 +27,7 @@ jobs:
|
|||||||
name: Bump version
|
name: Bump version
|
||||||
needs: [ build ]
|
needs: [ build ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop') }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -48,6 +49,7 @@ jobs:
|
|||||||
name: Build Nightly Docker
|
name: Build Nightly Docker
|
||||||
needs: [ build, version ]
|
needs: [ build, version ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop') }}
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
contents: read
|
contents: read
|
||||||
|
6
.github/workflows/release-workflow.yml
vendored
6
.github/workflows/release-workflow.yml
vendored
@ -2,10 +2,8 @@ name: Release Workflow
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
branches: [ release/** ]
|
||||||
- closed
|
types: [ closed ]
|
||||||
branches:
|
|
||||||
- 'release/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
if_merged:
|
if_merged:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user