Skip to content

Commit b67ae26

Browse files
authored
fix: release action (#33)
1 parent 396609a commit b67ae26

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

.github/workflows/azure-static-web-apps-brave-coast-0edcf6600.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@ on:
44
push:
55
branches:
66
- master
7-
pull_request:
8-
types: [opened, synchronize, reopened, closed]
9-
branches:
10-
- master
117

128
jobs:
139
build_and_deploy_job:
14-
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
10+
if: github.repository_owner == 'ant-design-blazor'
1511
runs-on: ubuntu-latest
1612
name: Build and Deploy Job
1713
steps:
@@ -49,16 +45,4 @@ jobs:
4945
app_location: "cargo/wwwroot" # App source code path
5046
# api_location: "api" # Api source code path - optional
5147
output_location: "cargo/wwwroot" # Built app content directory - optional
52-
###### End of Repository/Build Configurations ######
53-
54-
close_pull_request_job:
55-
if: github.event_name == 'pull_request' && github.event.action == 'closed'
56-
runs-on: ubuntu-latest
57-
name: Close Pull Request Job
58-
steps:
59-
- name: Close Pull Request
60-
id: closepullrequest
61-
uses: Azure/[email protected]
62-
with:
63-
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BRAVE_COAST_0EDCF6600 }}
64-
action: "close"
48+
###### End of Repository/Build Configurations ######

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
with:
2222
dotnet-version: 3.1.300
2323

24+
- uses: actions/setup-dotnet@v1
25+
with:
26+
dotnet-version: 5.0.100
27+
2428
- uses: actions/setup-node@v1
2529
with:
2630
node-version: "10.x"

0 commit comments

Comments
 (0)