forked from keptn-sandbox/keptn-jenkins-library
-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (31 loc) · 825 Bytes
/
release.yml
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
name: Create Release
on:
workflow_dispatch:
jobs:
test:
strategy:
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Run tests
run: echo "No tests configured yet"
release:
needs: test
name: Release
uses: keptn/gh-automation/.github/workflows/[email protected]
release-assets:
name: Release Assets
needs: release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Add release assets
env:
RELEASE_TAG: ${{ needs.release.outputs.RELEASE_TAG }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload "$RELEASE_TAG" ./LICENSE