RevitOpeningPlacement: Обновление статусов заданий для Навигатора ВИС #78
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
name: publish RevitOpeningPlacement | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [ closed, synchronize, review_requested ] | |
branches: [ main, master ] | |
paths: | |
- '**RevitClashes**.cs' | |
- '**RevitOpeningPlacement**.cs' | |
- '**RevitOpeningPlacement**.xaml' | |
env: | |
plugin-name: "RevitOpeningPlacement" | |
jobs: | |
build: | |
name: build | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
# Install the .NET workload | |
- name: Install .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
# Add DevExrepress package source: https://nuget.devexpress.com/ | |
- name: Add DevExpress package source | |
run: dotnet nuget add source https://nuget.devexpress.com/api -n DXFeed -u DevExpress -p ${{ secrets.DEVEXPRESS_FEED_AUTHORIZATION_KEY }} | |
- name: Run './build.cmd ' | |
run: ./build.cmd publish --profile ${{ env.plugin-name }} --pull-request-merged ${{ github.event.pull_request.merged }} --extensions-app-token ${{ secrets.EXTENSIONS_APP_TOKEN }} --revit-plugins-app-token ${{ secrets.REVIT_PLUGINS_APP_TOKEN }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |