Skip to content

Commit b701034

Browse files
committed
Use publish script and update README
1 parent 005a447 commit b701034

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

.github/workflows/build_nupkg.yml renamed to .github/workflows/build_and_test.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Nuget Pack
1+
name: Build and Test
22

33
on:
44
push:
@@ -18,29 +18,23 @@ jobs:
1818
with:
1919
dotnet-version: 9.0.x
2020

21-
- name: Restore dependencies
22-
run: dotnet restore
23-
24-
- name: Build library
25-
run: dotnet build
26-
2721
- name: Run tests
2822
run: dotnet test
2923

30-
- name: Pack
31-
run: dotnet pack
24+
- name: Run publish script
25+
run: ./publish-nix.sh
3226

3327
- name: Upload build
3428
uses: actions/upload-artifact@v4
3529
with:
3630
name: 'Nuget Package'
37-
path: 'SabreTools.ASN1/bin/Release/*.nupkg'
31+
path: '*.nupkg'
3832

3933
- name: Upload to rolling
4034
uses: ncipollo/release-action@v1.14.0
4135
with:
4236
allowUpdates: True
43-
artifacts: 'SabreTools.ASN1/bin/Release/*.nupkg'
37+
artifacts: '*.nupkg'
4438
body: 'Last built commit: ${{ github.sha }}'
4539
name: 'Rolling Release'
4640
prerelease: True

README.MD

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# SabreTools.ASN1
22

3+
[![Build and Test](https://github.com/SabreTools/SabreTools.ASN1/actions/workflows/build_and_test.yml/badge.svg)](https://github.com/SabreTools/SabreTools.ASN1/actions/workflows/build_and_test.yml)
4+
35
This library comprises of code to parse Abstract Syntax Notation One (ASN.1) codes and output them into various formats. This also performs some rudimentary validation based on the chains that are input.
46

57
**Note:** This code is known to be incomplete and will be added to over time.
8+
9+
Find the link to the Nuget package [here](https://www.nuget.org/packages/SabreTools.ASN1).
10+
11+
## Releases
12+
13+
For the most recent stable build, download the latest release here: [Releases Page](https://github.com/SabreTools/SabreTools.ASN1/releases)
14+
15+
For the latest WIP build here: [Rolling Release](https://github.com/SabreTools/SabreTools.ASN1/releases/rolling)
16+

0 commit comments

Comments
 (0)