Skip to content

Commit 0aa3c98

Browse files
committed
use workflow_dispatch
1 parent 52b33a5 commit 0aa3c98

1 file changed

Lines changed: 21 additions & 20 deletions

File tree

.github/workflows/release.yml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
name: Release
22

33
on:
4-
pull_request
5-
# workflow_dispatch:
6-
# inputs:
7-
# dryRun:
8-
# description: Perform a dry-run only
9-
# required: false
10-
# type: boolean
11-
# releaseVersion:
12-
# description: Next release version
13-
# required: true
14-
# type: string
15-
# changeLog:
16-
# description: Pending changelog
17-
# required: true
18-
# type: string
4+
# pull_request
5+
workflow_dispatch:
6+
inputs:
7+
dryRun:
8+
description: Perform a dry-run only
9+
required: false
10+
type: boolean
11+
releaseVersion:
12+
description: Next release version
13+
required: true
14+
type: string
15+
# changeLog:
16+
# description: Pending changelog
17+
# required: true
18+
# type: string
1919

2020
jobs:
2121
release:
2222
runs-on: ubuntu-latest
2323
env:
2424
# temporary ENV VARs for input; this is only because workflow_dispatch
2525
# actions can only run on main for some reason
26-
LD_RELEASE_VERSION: 2.14.0
27-
DRY_RUN: true
28-
# LD_RELEASE_VERSION: ${{ inputs.releaseVersion }}
29-
# DRY_RUN: ${{ inputs.dryRun }}
26+
# LD_RELEASE_VERSION: 2.14.0
27+
# DRY_RUN: true
28+
LD_RELEASE_VERSION: ${{ inputs.releaseVersion }}
29+
DRY_RUN: ${{ inputs.dryRun }}
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
3232
# DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
@@ -45,7 +45,8 @@ jobs:
4545
{
4646
"launchdarkly/find-code-references": ${{ toJSON(secrets.LAUNCHDARKLY_FIND_CODE_REFERENCES_DEPLOY_KEY) }}
4747
}
48-
- run: echo ${{ vars.AWS_ROLE_ARN }}
48+
- name: "Print role arn"
49+
run: echo "role arn -> ${{ vars.AWS_ROLE_ARN }}"
4950
# - uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
5051
# name: Get secrets
5152
# with:

0 commit comments

Comments
 (0)