summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yaml6
-rw-r--r--.github/workflows/tag-release.yaml6
2 files changed, 4 insertions, 8 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index f9b0bdc309..aa504f51d8 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -1,12 +1,6 @@
name: Build
on:
- workflow_dispatch:
- inputs:
- release_run:
- type: boolean
- description: Do a release of this build
- default: false
pull_request:
push:
branches: ["main", "release/*", "project/*"]
diff --git a/.github/workflows/tag-release.yaml b/.github/workflows/tag-release.yaml
index 8bb498219d..2a375e0375 100644
--- a/.github/workflows/tag-release.yaml
+++ b/.github/workflows/tag-release.yaml
@@ -27,8 +27,10 @@ jobs:
tag-release:
runs-on: ubuntu-latest
steps:
- - name: Setup Date Env
+ - name: Setup Env Vars
run: |
+ CHANNEL="${{ inputs.channel }}"
+ echo VIEWER_CHANNEL="Second_Life_${CHANNEL:-Develop}" >> ${GITHUB_ENV}
echo NIGHTLY_DATE=$(date --rfc-3339=date) >> ${GITHUB_ENV}
- name: Update Tag
uses: actions/github-script@v7.0.1
@@ -39,6 +41,6 @@ jobs:
github.rest.git.createRef(
owner: context.repo.owner,
repo: context.repo.repo,
- ref: "refs/tags/Second_Life_Develop#${{ env.NIGHTLY_DATE }}",
+ ref: "refs/tags/${{ env.VIEWER_CHANNEL }}#${{ env.NIGHTLY_DATE }}",
sha: context.sha
)