mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
👷 Add Changelog
This commit is contained in:
@@ -26,6 +26,11 @@ on:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
COMMIT_CHANGELOG:
|
||||
description: 'Update Changelog'
|
||||
type: boolean
|
||||
required: false
|
||||
default: false
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref || github.run_id }}
|
||||
@@ -33,6 +38,8 @@ concurrency:
|
||||
jobs:
|
||||
build-apk:
|
||||
uses: ./.github/workflows/build-artifact.yml
|
||||
with:
|
||||
COMMIT_CHANGELOG: ${{ inputs.COMMIT_CHANGELOG }}
|
||||
secrets:
|
||||
ENVS: ${{ secrets.ENVS }}
|
||||
|
||||
@@ -67,6 +74,7 @@ jobs:
|
||||
tag: Build-${{ steps.get-date.outputs.date }}
|
||||
artifactErrorsFailBuild: true
|
||||
bodyFile: changelog.md
|
||||
|
||||
- name: Sleep for 10 seconds
|
||||
run: |
|
||||
sleep 10
|
||||
|
||||
@@ -4,6 +4,11 @@ env:
|
||||
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
FILES_TO_EXPECT:
|
||||
type: string
|
||||
required: false
|
||||
default: '-1'
|
||||
workflow_call:
|
||||
secrets:
|
||||
ENVS:
|
||||
@@ -12,7 +17,11 @@ on:
|
||||
FILES_TO_EXPECT:
|
||||
type: string
|
||||
required: false
|
||||
default: -1
|
||||
default: '-1'
|
||||
COMMIT_CHANGELOG:
|
||||
type: boolean
|
||||
required: false
|
||||
default: false
|
||||
|
||||
jobs:
|
||||
build-apk:
|
||||
@@ -41,3 +50,13 @@ jobs:
|
||||
apks/VancedMicroG.apk"
|
||||
if-no-files-found: error
|
||||
files-to-expect: ${{ inputs.FILES_TO_EXPECT }}
|
||||
|
||||
- name: Commit Update file
|
||||
if: ${{ inputs.COMMIT_CHANGELOG }}
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
branch: changelogs
|
||||
skip_checkout: true
|
||||
file_pattern: changelog.md
|
||||
commit_message: New Build
|
||||
push_options: '--force'
|
||||
|
||||
Reference in New Issue
Block a user