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
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
COMMIT_CHANGELOG:
|
||||||
|
description: 'Update Changelog'
|
||||||
|
type: boolean
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref || github.run_id }}
|
group: ${{ github.head_ref || github.run_id }}
|
||||||
@@ -33,6 +38,8 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
build-apk:
|
build-apk:
|
||||||
uses: ./.github/workflows/build-artifact.yml
|
uses: ./.github/workflows/build-artifact.yml
|
||||||
|
with:
|
||||||
|
COMMIT_CHANGELOG: ${{ inputs.COMMIT_CHANGELOG }}
|
||||||
secrets:
|
secrets:
|
||||||
ENVS: ${{ secrets.ENVS }}
|
ENVS: ${{ secrets.ENVS }}
|
||||||
|
|
||||||
@@ -67,6 +74,7 @@ jobs:
|
|||||||
tag: Build-${{ steps.get-date.outputs.date }}
|
tag: Build-${{ steps.get-date.outputs.date }}
|
||||||
artifactErrorsFailBuild: true
|
artifactErrorsFailBuild: true
|
||||||
bodyFile: changelog.md
|
bodyFile: changelog.md
|
||||||
|
|
||||||
- name: Sleep for 10 seconds
|
- name: Sleep for 10 seconds
|
||||||
run: |
|
run: |
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|||||||
@@ -4,6 +4,11 @@ env:
|
|||||||
COMPOSE_DOCKER_CLI_BUILD: 1
|
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
FILES_TO_EXPECT:
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
default: '-1'
|
||||||
workflow_call:
|
workflow_call:
|
||||||
secrets:
|
secrets:
|
||||||
ENVS:
|
ENVS:
|
||||||
@@ -12,7 +17,11 @@ on:
|
|||||||
FILES_TO_EXPECT:
|
FILES_TO_EXPECT:
|
||||||
type: string
|
type: string
|
||||||
required: false
|
required: false
|
||||||
default: -1
|
default: '-1'
|
||||||
|
COMMIT_CHANGELOG:
|
||||||
|
type: boolean
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-apk:
|
build-apk:
|
||||||
@@ -41,3 +50,13 @@ jobs:
|
|||||||
apks/VancedMicroG.apk"
|
apks/VancedMicroG.apk"
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
files-to-expect: ${{ inputs.FILES_TO_EXPECT }}
|
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