1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 13:32:50 -05:00

ci: add workflow for pushing stable tag

This commit is contained in:
bbedward
2025-12-12 23:50:27 -05:00
parent 50f1bc5017
commit f63ab5cf7c
3 changed files with 32 additions and 13 deletions

View File

@@ -4,18 +4,18 @@ on:
workflow_dispatch:
inputs:
package:
description: 'Package to update (dms, dms-git, or all)'
description: "Package to update (dms, dms-git, or all)"
required: false
default: 'all'
default: "all"
rebuild_release:
description: 'Release number for rebuilds (e.g., 2, 3, 4 to increment spec Release)'
description: "Release number for rebuilds (e.g., 2, 3, 4 to increment spec Release)"
required: false
default: ''
default: ""
push:
tags:
- 'v*'
- "v*"
schedule:
- cron: '0 */3 * * *' # Every 3 hours for dms-git builds
- cron: "0 */3 * * *" # Every 3 hours for dms-git builds
jobs:
check-updates:
@@ -260,7 +260,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
go-version: "1.24"
- name: Install OSC
run: |

View File

@@ -4,15 +4,15 @@ on:
workflow_dispatch:
inputs:
package:
description: 'Package to upload (dms, dms-git, dms-greeter, or all)'
description: "Package to upload (dms, dms-git, dms-greeter, or all)"
required: false
default: 'dms-git'
default: "dms-git"
rebuild_release:
description: 'Release number for rebuilds (e.g., 2, 3, 4 for ppa2, ppa3, ppa4)'
description: "Release number for rebuilds (e.g., 2, 3, 4 for ppa2, ppa3, ppa4)"
required: false
default: ''
default: ""
schedule:
- cron: '0 */3 * * *' # Every 3 hours for dms-git builds
- cron: "0 */3 * * *" # Every 3 hours for dms-git builds
jobs:
check-updates:
@@ -92,7 +92,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
go-version: "1.24"
cache: false
- name: Install build dependencies

19
.github/workflows/stable.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Update stable branch
on:
push:
tags:
- "v*"
jobs:
update-stable:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Push to stable branch
run: git push origin HEAD:refs/heads/stable --force