-
-
Notifications
You must be signed in to change notification settings - Fork 62
36 lines (32 loc) · 790 Bytes
/
release.yaml
File metadata and controls
36 lines (32 loc) · 790 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
34
35
36
name: "Features - Release"
on:
workflow_dispatch:
inputs:
run_tests:
type: boolean
description: 'run tests'
default: true
jobs:
run-tests:
uses: ./.github/workflows/test.yaml
secrets: inherit
with:
enabled: ${{ inputs.run_tests }}
deploy:
needs: [run-tests]
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
packages: write
steps:
- uses: actions/checkout@v3
- name: "Publish Features"
uses: devcontainers/action@v1
with:
publish-features: "true"
base-path-to-features: "./src"
generate-docs: "false"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}