Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zefanjajobse authored Feb 2, 2024
1 parent f1b9711 commit 335b045
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: .NET

on:
workflow_dispatch:

push:
branches:
- master
name: Create Release
jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v3

Expand All @@ -29,16 +28,11 @@ jobs:
run: dotnet publish -c Release -p:PublishSingleFile=true --self-contained false "PlanningCenter to OPS\\PlanningCenter to OPS.csproj"

- name: release
uses: zendesk/action-create-release@v1
id: create_release
with:
tag_name: Latest
release_name: Latest
draft: false
prerelease: false
body_path: CHANGELOG.md
uses: zendesk/action-create-release@v1
env:
GITHUB_TOKEN: ${{ github.token }}

- name: upload windows artifact
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 335b045

Please sign in to comment.