-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: Alan Rynne <[email protected]>
- Loading branch information
1 parent
7683db1
commit 875d4b4
Showing
29 changed files
with
840 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"core": true, | ||
"rhino": true, | ||
"revit": true, | ||
"dynamo": true, | ||
"csi": true, | ||
"autocadcivil": true, | ||
"bentley": true, | ||
"archicad": true, | ||
"teklastructures": true, | ||
"navisworks": true | ||
} | ||
"core": true, | ||
"rhino": true, | ||
"revit": true, | ||
"dynamo": true, | ||
"csi": true, | ||
"autocadcivil": true, | ||
"bentley": true, | ||
"archicad": true, | ||
"teklastructures": true, | ||
"navisworks": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" # search for actions - there are other options available | ||
directory: "/" # search in .github/workflows under root `/` | ||
schedule: | ||
interval: "weekly" # check for action update every week |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: .NET Build | ||
|
||
on: | ||
pull_request: # Run build on every pull request that is not to main/dev | ||
branches-ignore: | ||
- main | ||
- dev | ||
workflow_call: | ||
outputs: | ||
version: | ||
value: ${{ jobs.build.outputs.version }} | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
outputs: | ||
version: ${{ steps.set-version.outputs.version }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 7.x.x | ||
|
||
- name: ⚒️ Run build | ||
run: ./build.ps1 | ||
|
||
- name: ⬆️ Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: output-${{ env.GitVersion_AssemblySemFileVer }} | ||
path: output/*.* | ||
compression-level: 0 # no compression | ||
|
||
- id: set-version | ||
name: Set version to output | ||
run: echo "version=${{env.GitVersion_FullSemVer}}" >> "$GITHUB_OUTPUT" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: .NET Build and Publish | ||
|
||
on: | ||
push: | ||
branches: ["main", "dev", "dui3/alpha"] # Continuous delivery on every long-lived branch | ||
tags: ["3.*"] # Manual delivery on every 3.x tag | ||
pull_request: | ||
branches: ["main", "dev"] # Releases on every PR that targets main or dev | ||
|
||
jobs: | ||
build: | ||
uses: ./.github/workflows/ci.yml | ||
|
||
deploy-installers: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: 🔫 Trigger Build Installers | ||
uses: ALEEF02/[email protected] | ||
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 | ||
workflow-logs: true | ||
run-name: "Deploying from: ${{ github.ref_name }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -382,3 +382,5 @@ ConnectorArchicad/AddOn/Build* | |
|
||
|
||
**/yarn.lock | ||
|
||
output/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.