Skip to content

Commit 5af1240

Browse files
committed
Added initial workflow to build and publish.
1 parent 83177c0 commit 5af1240

File tree

2 files changed

+30
-9
lines changed

2 files changed

+30
-9
lines changed

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
# tags:
8+
# - 'v[1-9].*'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Setup .NET
16+
uses: actions/setup-dotnet@v4
17+
with:
18+
dotnet-version: 8.0.x
19+
- name: Restore dependencies
20+
run: dotnet restore
21+
- name: Build
22+
run: dotnet build --no-restore
23+
- name: Test
24+
run: dotnet test --no-build --verbosity normal
25+
- name: Pack
26+
run: dotnet pack --no-build --output .
27+
- name: List
28+
run: ls -l *.nupkg
29+
# - name: Publish
30+
# run: dotnet nuget push *.nupkg --api-key ${{ secrets.NUGET_API_KEY }}

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,3 @@ When using the framework builder, if you get an error from git about filenames b
1111
```shell
1212
git config --global core.longpaths true
1313
```
14-
15-
# TODO
16-
17-
* Logic to add existing plugin to environment with "existing" command.
18-
* Merge env update command from rock/plugin into one command.
19-
* Add --no-git parameter to disable git changes.
20-
* Add --no-rock parameter to disable Rock installation changes (except for WebForms junctions).
21-
* Add --no-plugins parameter to disable plugin installation changes.
22-
* Add --no-git parameter to disable git checks in env status

0 commit comments

Comments
 (0)