Skip to content

Commit 928552a

Browse files
committed
move to github
1 parent 9480c0d commit 928552a

19 files changed

Lines changed: 186 additions & 331 deletions

File tree

.editorconfig

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ root = true
33
[*]
44
charset = utf-8
55
end_of_line = lf
6-
tab_width = 4
6+
ij_visual_guides = 180
77
indent_size = 4
88
indent_style = space
9-
max_line_length = 160
109
insert_final_newline = true
10+
max_line_length = 180
11+
tab_width = 4
1112
trim_trailing_whitespace = true
1213

13-
[*.{css,cshtml,csproj,js,json,yml,yaml}]
14+
[*.{csproj,json,yaml}]
1415
tab_width = 2
15-
indent_size = 2
16+
indent_size = 2

.forgejo/issue_template/bug.yaml

Lines changed: 0 additions & 57 deletions
This file was deleted.

.forgejo/issue_template/config.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.forgejo/issue_template/feature.yaml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.github/workflows/build.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
on:
2+
pull_request:
3+
branches:
4+
- main
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch: {}
9+
10+
permissions:
11+
packages: read
12+
13+
env:
14+
DOTNET_VERSION: '10.0.x'
15+
NUGET_REGISTRY_URL: https://nuget.pkg.github.com/devpikachu/index.json
16+
NUGET_REGISTRY_USERNAME: devpikachu
17+
18+
jobs:
19+
build:
20+
name: Build
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v6
25+
- name: Setup .NET SDK 10
26+
uses: actions/setup-dotnet@v5
27+
with:
28+
dotnet-version: ${{ env.DOTNET_VERSION }}
29+
- name: Add NuGet repository
30+
run: dotnet nuget add source --name github --username $NUGET_REGISTRY_USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text $NUGET_REGISTRY_URL
31+
- name: Restore dependencies from cache
32+
uses: actions/cache@v5
33+
with:
34+
key: deps-${{ hashFiles('bootstrap.sh') }}
35+
path: |
36+
vendor/vs.tar.gz
37+
vendor/*.zip
38+
- name: Bootstrap
39+
run: bash bootstrap.sh
40+
- name: Build
41+
run: bash build.sh --target Build --general-project DurableBetterProspecting

.github/workflows/release.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
on:
2+
push:
3+
tags:
4+
- '*'
5+
6+
permissions:
7+
contents: write
8+
packages: read
9+
10+
env:
11+
DOTNET_VERSION: '10.0.x'
12+
NUGET_REGISTRY_URL: https://nuget.pkg.github.com/devpikachu/index.json
13+
NUGET_REGISTRY_USERNAME: devpikachu
14+
15+
jobs:
16+
build:
17+
name: Build & Release
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v6
22+
- name: Setup .NET SDK 10
23+
uses: actions/setup-dotnet@v5
24+
with:
25+
dotnet-version: ${{ env.DOTNET_VERSION }}
26+
- name: Add NuGet repository
27+
run: dotnet nuget add source --name github --username $NUGET_REGISTRY_USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text $NUGET_REGISTRY_URL
28+
- name: Restore dependencies from cache
29+
uses: actions/cache@v5
30+
with:
31+
key: deps-${{ hashFiles('bootstrap.sh') }}
32+
path: |
33+
vendor/vs.tar.gz
34+
vendor/*.zip
35+
- name: Bootstrap
36+
run: bash bootstrap.sh
37+
- name: Build
38+
run: |
39+
bash build.sh --target Archive --general-project DurableBetterProspecting --general-version $GITHUB_REF_NAME
40+
- name: Release
41+
uses: softprops/action-gh-release@v2
42+
with:
43+
draft: true
44+
files: out/*.zip

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
.DS_Store
12
bin/
23
obj/
34
out/
45
run/
56
vendor/
7+
68
*.sln.DotSettings.user

.idea/.idea.DurableBetterProspecting/.idea/.name

Lines changed: 0 additions & 1 deletion
This file was deleted.

.noai

Whitespace-only changes.

.woodpecker/build.yaml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)