summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2024-06-17 17:42:30 -0700
committerBrad Linden <brad@lindenlab.com>2024-06-17 17:43:02 -0700
commitb9a8b3b240512bdf5bbb99f6bc581872fead86b8 (patch)
tree66b88b10722c8d5fc800b24bd91551cc30ad7734 /.github/workflows
parent84a221e7dd408bf123be2adaa9c4e33ba4509a0d (diff)
Update naming and add options to tag-release workflow_dispatch.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/tag-release.yaml20
1 files changed, 18 insertions, 2 deletions
diff --git a/.github/workflows/tag-release.yaml b/.github/workflows/tag-release.yaml
index bb9e7094ec..8bb498219d 100644
--- a/.github/workflows/tag-release.yaml
+++ b/.github/workflows/tag-release.yaml
@@ -1,14 +1,30 @@
-name: Tag Nightly Builds
+name: Tag a Build
on:
# schedule event triggers always run on the default branch
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
schedule:
+ # run "nightly" builds on default branch every mon/wed/fri
- cron: "21 2 * * 2,4,6" # 2:21am UTC tues/thurs/sat == 7:21pm PDT mon/wed/fri -- see https://crontab.guru/#21_01_*_*_2,4,6
workflow_dispatch:
+ inputs:
+ - channel:
+ description: "Channel to configure the build"
+ required: true
+ type: choice
+ default: "Test"
+ options:
+ - "Test"
+ - "Develop"
+ - "Project"
+ - "Release"
+ - project:
+ description: "Project Name (used for channel name in project builds, and tag name for all builds)"
+ default: "hippo"
+ # TODO - add an input for selecting another sha to build other than head of branch
jobs:
- tag-develop-nightly:
+ tag-release:
runs-on: ubuntu-latest
steps:
- name: Setup Date Env