parent
a88d8b43b3
commit
65ecae338b
4 changed files with 6 additions and 9 deletions
2
.github/workflows/build_benchmark.yml
vendored
2
.github/workflows/build_benchmark.yml
vendored
|
|
@ -62,7 +62,7 @@ jobs:
|
||||||
build-app:
|
build-app:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: prepare-build
|
needs: prepare-build
|
||||||
if: startsWith(github.ref, 'refs/tags')
|
if: startsWith(github.ref, 'refs/tags') && github.repository == 'komikku-app/komikku'
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Repository (${{ needs.prepare-build.outputs.TAG_NAME }})
|
- name: Clone Repository (${{ needs.prepare-build.outputs.TAG_NAME }})
|
||||||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||||
|
|
|
||||||
2
.github/workflows/build_preview.yml
vendored
2
.github/workflows/build_preview.yml
vendored
|
|
@ -120,7 +120,7 @@ jobs:
|
||||||
build-app:
|
build-app:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: prepare-build
|
needs: prepare-build
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master' && github.repository == 'komikku-app/komikku'
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Repository (${{ needs.prepare-build.outputs.VERSION_TAG }} - ${{ needs.prepare-build.outputs.TAG_NAME }})
|
- name: Clone Repository (${{ needs.prepare-build.outputs.VERSION_TAG }} - ${{ needs.prepare-build.outputs.TAG_NAME }})
|
||||||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||||
|
|
|
||||||
10
.github/workflows/build_release.yml
vendored
10
.github/workflows/build_release.yml
vendored
|
|
@ -31,8 +31,6 @@ jobs:
|
||||||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
repository: 'komikku-app/komikku-source'
|
|
||||||
ssh-key: '${{ secrets.KOMIKKU_DEPLOY }}'
|
|
||||||
|
|
||||||
- name: Validate Gradle Wrapper
|
- name: Validate Gradle Wrapper
|
||||||
uses: gradle/actions/wrapper-validation@d156388eb19639ec20ade50009f3d199ce1e2808 # v4
|
uses: gradle/actions/wrapper-validation@d156388eb19639ec20ade50009f3d199ce1e2808 # v4
|
||||||
|
|
@ -86,7 +84,7 @@ jobs:
|
||||||
|
|
||||||
echo "COMMIT_LOGS<<{delimiter}
|
echo "COMMIT_LOGS<<{delimiter}
|
||||||
$(curl -H "Accept: application/vnd.github.v3+json" \
|
$(curl -H "Accept: application/vnd.github.v3+json" \
|
||||||
"https://api.github.com/repos/komikku-app/komikku-source/compare/${{ steps.previous_commit.outputs.PREV_RELEASE_SHA }}...${{ steps.current_commit.outputs.CURRENT_SHA }}" \
|
"https://api.github.com/repos/komikku-app/komikku/compare/${{ steps.previous_commit.outputs.PREV_RELEASE_SHA }}...${{ steps.current_commit.outputs.CURRENT_SHA }}" \
|
||||||
| jq '[.commits[]|{message:(.commit.message | split("\n")), username:.author.login}]' \
|
| jq '[.commits[]|{message:(.commit.message | split("\n")), username:.author.login}]' \
|
||||||
| jq -r '.[]|"- \(.message | first) (@\(.username))"')
|
| jq -r '.[]|"- \(.message | first) (@\(.username))"')
|
||||||
{delimiter}" >> $GITHUB_OUTPUT
|
{delimiter}" >> $GITHUB_OUTPUT
|
||||||
|
|
@ -95,14 +93,12 @@ jobs:
|
||||||
name: Build release app
|
name: Build release app
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: prepare-build
|
needs: prepare-build
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v') && github.repository == 'komikku-app/komikku'
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Repository (${{ needs.prepare-build.outputs.VERSION_TAG }})
|
- name: Clone Repository (${{ needs.prepare-build.outputs.VERSION_TAG }})
|
||||||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
repository: 'komikku-app/komikku-source'
|
|
||||||
ssh-key: '${{ secrets.KOMIKKU_DEPLOY }}'
|
|
||||||
|
|
||||||
- name: Clone Submodule
|
- name: Clone Submodule
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -221,7 +217,7 @@ jobs:
|
||||||
|
|
||||||
#### Based on
|
#### Based on
|
||||||
|
|
||||||
**Full Changelog**: https://github.com/komikku-app/komikku-source/compare/${{ needs.prepare-build.outputs.PREV_TAG_NAME }}...${{ needs.prepare-build.outputs.VERSION_TAG }}
|
**Full Changelog**: https://github.com/komikku-app/komikku/compare/${{ needs.prepare-build.outputs.PREV_TAG_NAME }}...${{ needs.prepare-build.outputs.VERSION_TAG }}
|
||||||
|
|
||||||
${{ needs.prepare-build.outputs.COMMIT_LOGS }}
|
${{ needs.prepare-build.outputs.COMMIT_LOGS }}
|
||||||
|
|
||||||
|
|
|
||||||
1
.github/workflows/codeberg_mirror.yml
vendored
1
.github/workflows/codeberg_mirror.yml
vendored
|
|
@ -10,6 +10,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
codeberg:
|
codeberg:
|
||||||
|
if: github.repository == 'komikku-app/komikku'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue