File tree Expand file tree Collapse file tree 2 files changed +1
-52
lines changed
Expand file tree Collapse file tree 2 files changed +1
-52
lines changed Original file line number Diff line number Diff line change 77 branches : [ main ]
88
99jobs :
10- macos-build-publish :
11- runs-on : macos-latest
12- needs : build-and-test
13- steps :
14- - name : Checkout code
15- uses : actions/checkout@v3
16-
17- - name : Setup .NET
18- uses : actions/setup-dotnet@v3
19- with :
20- dotnet-version : 9.0.x
21-
22- - name : Restore dependencies
23- run : dotnet restore bagit.net.sln
24-
25- - name : Build solution
26- run : dotnet build bagit.net.sln --no-restore --configuration Release
27-
28- - name : Run Unit Tests
29- run : dotnet test bagit.net.tests/bagit.net.tests.csproj --no-build --configuration Release --filter "Category=Unit"
30-
31- - name : Run Integration Tests
32- run : dotnet test bagit.net.tests/bagit.net.tests.csproj --no-build --configuration Release --filter "Category=Integration"
33-
34- - name : Publish macOS ARM64
35- run : |
36- dotnet publish bagit.net.cli/bagit.net.cli.csproj \
37- -c Release \
38- -r osx-x64 \ # or osx-arm64 for Apple Silicon
39- --self-contained true \
40- /p:PublishTrimmed=true \
41- /p:PublishSingleFile=true \
42- -o ./publish-macos
43-
44- - name : Upload macOS ARM64 build
45- uses : actions/upload-artifact@v4
46- with :
47- name : bagit.net-macos-arm64
48- path : ./publish/macos-arm64
49-
5010 build-and-test :
5111 runs-on : ubuntu-latest
5212
Original file line number Diff line number Diff line change 22
33** bagit.net** is a C# implementation of the [ BagIt specification (RFC 8493)] ( https://datatracker.ietf.org/doc/html/rfc8493 ) .
44It allows you to create ** BagIt bags** —structured file collections with checksums for reliable storage and transfer of digital content.
5- It currently consists of a core library (` bagit.net ` ) and a CLI application (` bagit.net.cli ` ) for Linux, macOS, and Windows.
5+ It currently consists of a core library (` bagit.net ` ) and a CLI application (` bagit.net.cli ` ) for Linux and Windows.
66
77[ ![ Release] ( https://img.shields.io/badge/release-v0.2.1--alpha-blue )] ( https://github.com/dmnyu/bagit.net/releases/v0.2.1-alpha )
88![ BagIt.NET CI] ( https://github.com/dmnyu/bagit.net/actions/workflows/ci.yml/badge.svg )
@@ -100,17 +100,6 @@ cd .\bagit.net.cli
100100
101101---
102102
103- ### macOS
104- ``` bash
105- wget https://github.com/dmnyu/bagit.net/releases/download/v0.2.1-alpha/bagit.net.cli-v0.2.1-alpha-macos-arm64.tgz
106- tar xvzf bagit.net.cli-v0.2.1-alpha-macos-arm64.tgz
107- cd bagit.net.cli
108- sudo ./install.sh
109- bagit.net --help
110- ```
111-
112- ---
113-
114103## Additional Notes
115104
116105- The CLI is ** self-contained** , so no .NET installation is required for end-users.
You can’t perform that action at this time.
0 commit comments