We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dfa323d + 894cb93 commit 8d15719Copy full SHA for 8d15719
.github/workflows/release-cddl.yml
@@ -0,0 +1,28 @@
1
+name: "Upload CDDL assets"
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "cddl-*"
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: checkout repo
13
+ uses: actions/checkout@v4
14
+ with:
15
+ submodules: recursive
16
+ - name: install tools
17
+ run: gem install --user-install cbor-diag cddl
18
+ - name: set up PATH
19
+ run: echo "$(gem env gempath | cut -d':' -f1)/bin" >> $GITHUB_PATH
20
+ - name: assemble and test
21
+ run: make check
22
+ - name: "Create Release"
23
+ uses: softprops/action-gh-release@v2
24
+ if: startsWith(github.ref, 'refs/tags/')
25
26
+ token: ${{ secrets.GITHUB_TOKEN }}
27
+ files: |
28
+ ./*-autogen.cddl
0 commit comments