forked from ipdxco/unified-github-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 853 Bytes
/
update-go.yml
File metadata and controls
33 lines (31 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Update Go
on:
workflow_dispatch:
inputs:
targets:
description: "List of repository names to deploy to"
required: true
version:
description: "Go version to update to"
required: true
branch:
description: "Branch to push to"
required: false
default: 'uci/update-go'
dry-run:
description: "Whether to run in dry run mode"
required: false
default: 'false'
jobs:
update-go:
uses: ./.github/workflows/process.yml
secrets: inherit
with:
targets: ${{ github.event.inputs.targets }}
branch: ${{ github.event.inputs.branch }}
script: update-go.sh
defaults: |
common:
versions:
go: "${{ github.event.inputs.version }}"
dry-run: ${{ github.event.inputs.dry-run == 'true' }}