Compare commits

...

8 Commits

Author SHA1 Message Date
Alan Rynne 2bbc8b4fdf fix: Minor gitconfig tweaks
.NET Build and Publish / build (push) Has been cancelled
.NET Build and Publish / test (push) Has been cancelled
.NET Build and Publish / deploy-installers (push) Has been cancelled
2024-08-21 10:49:41 +02:00
Alan Rynne e9263279ab Merge branch 'dev' into stable-installer-release 2024-08-21 10:42:14 +02:00
Alan Rynne d60b2cb587 fix: Only build on v3.x tags for now 2024-08-21 10:41:16 +02:00
Alan Rynne 13858f4184 tool manifest update 2024-08-20 17:55:09 +02:00
Alan Rynne c1a58859b9 test: add gitversion manual mode 2024-08-20 17:36:47 +02:00
Alan Rynne 0fb7ad032f Merge branch 'dev' into stable-installer-release 2024-08-20 17:33:25 +02:00
Alan Rynne 7772f5ba00 fix: Delete gitversion config 2024-08-20 10:51:53 +02:00
Alan Rynne a6340618d0 feat: First attempt at signed releases with Digicert on tag push 2024-08-19 13:35:29 +02:00
3 changed files with 39 additions and 34 deletions
+5 -3
View File
@@ -6,13 +6,15 @@
"version": "0.28.2",
"commands": [
"dotnet-csharpier"
]
],
"rollForward": false
},
"gitversion.tool": {
"version": "5.12.0",
"version": "6.0.2",
"commands": [
"dotnet-gitversion"
]
],
"rollForward": false
}
}
}
+28 -24
View File
@@ -3,7 +3,7 @@ name: .NET Build and Publish
on:
push:
branches: ["main", "dev"] # Continuous delivery on every long-lived branch
tags: ["3.*"] # Manual delivery on every 3.x tag
tags: ["v3.*"] # Manual delivery on every 3.x tag
jobs:
build:
@@ -20,8 +20,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.2xx # Align with global.json (including roll forward rules)
- name: Cache Nuget
- name: Cache Nuget
uses: actions/cache@v4
with:
path: ~/.nuget/packages
@@ -42,24 +42,28 @@ jobs:
- id: set-version
name: Set version to output
run: echo "version=${{ env.GitVersion_FullSemVer }}" >> "$Env:GITHUB_OUTPUT"
run: echo "version=${{ env.GitVersion_FullSemVer }}" >> "$Env:GITHUB_OUTPUT"
deploy-installers:
runs-on: ubuntu-latest
needs: build
steps:
- name: 🔫 Trigger Build Installers
uses: ALEEF02/workflow-dispatch@v3.0.0
with:
workflow: Build Installers
repo: specklesystems/connector-installers
token: ${{ secrets.CONNECTORS_GH_TOKEN }}
inputs: '{ "run_id": "${{ github.run_id }}", "version": "${{ needs.build.outputs.version }}" }'
ref: main
wait-for-completion: true
wait-for-completion-interval: 10s
wait-for-completion-timeout: 10m
display-workflow-run-url: true
display-workflow-run-url-interval: 10s
runs-on: ubuntu-latest
needs: build
env:
IS_TAG_BUILD: ${{ github.ref_type == 'tag' }}
steps:
- name: 🔫 Trigger Build Installers
uses: ALEEF02/workflow-dispatch@v3.0.0
with:
workflow: Build Installers
repo: specklesystems/connector-installers
token: ${{ secrets.CONNECTORS_GH_TOKEN }}
inputs: '{ "run_id": "${{ github.run_id }}", "version": "${{ needs.build.outputs.version }}", "public_release": ${{ env.IS_TAG_BUILD }} }'
ref: stable-installer-release
wait-for-completion: true
wait-for-completion-interval: 10s
wait-for-completion-timeout: 10m
display-workflow-run-url: true
display-workflow-run-url-interval: 10s
test:
runs-on: ubuntu-latest
steps:
@@ -70,8 +74,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.2xx # Align with global.json (including roll forward rules)
- name: Cache Nuget
- name: Cache Nuget
uses: actions/cache@v4
with:
path: ~/.nuget/packages
@@ -79,9 +83,9 @@ jobs:
- name: ⚒️ Run build
run: ./build.sh test-only
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v4
with:
file: Converters/**/coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}
+6 -7
View File
@@ -1,11 +1,10 @@
workflow: GitFlow/v1
next-version: 3.0.0
mode: ContinuousDelivery
assembly-informational-format: "{Major}.{Minor}.{Patch}-{PreReleaseTag}"
mode: ManualDeployment
branches:
main:
regex: ^main$
tag: rc
label: rc
develop:
tag: beta
pull-request:
tag: pr
label: beta
unknown:
increment: None