We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3580a3 commit 28ba5e1Copy full SHA for 28ba5e1
.github/workflows/changelog.yml
@@ -10,7 +10,9 @@ on: workflow_dispatch
10
jobs:
11
generate:
12
name: Generate Changelog
13
- runs-on: ubuntu-latest
+ runs-on: ubuntu-latest'
14
+ outputs:
15
+ changelog: ${{steps.getchangelog.outputs.changelog}}
16
steps:
17
- name: Checkout
18
uses: actions/checkout@v2
@@ -46,6 +48,16 @@ jobs:
46
48
TO: ${{steps.current.outputs.tag}}
47
49
OUTPUT: .github/CHANGELOG.md
50
51
+ - name: Read CHANGELOG file
52
+ id: getchangelog
53
+ run: echo "::set-output name=changelog::$(cat .github/CHANGELOG.md)"
54
+
55
- name: View Changelog
56
run: cat .github/CHANGELOG.md
-
57
58
+ view:
59
+ name: View Changelog Output
60
+ runs-on: ubuntu-latest
61
+ needs: [generate]
62
+ steps:
63
+ - run: echo ${{jobs.generate.outputs.changelog}}
0 commit comments