generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 220
32 lines (29 loc) · 868 Bytes
/
release.yml
File metadata and controls
32 lines (29 loc) · 868 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
# This workflow releases the current package to a dedicated private CodeArtifact repository.
# One repository may publish more than one package. For more details refer to the release-package Action.
name: Release
on:
workflow_dispatch:
inputs:
role-to-assume:
type: string
description: Use to override the AWS role used during release
required: false
project-name:
type: string
description: Use to override the CodeBuild project called
required: false
push:
branches:
- main
- 'dev-v3-*'
permissions:
id-token: write
contents: read
jobs:
release:
uses: cloudscape-design/actions/.github/workflows/release.yml@main
secrets: inherit
with:
skip-test: true
role-to-assume: ${{ inputs.role-to-assume }}
project-name: ${{ inputs.project-name }}