Skip to content

Commit

Permalink
bugfix: incorrect branch for automation
Browse files Browse the repository at this point in the history
Signed-off-by: hoyho <[email protected]>
  • Loading branch information
hoyho committed Jun 13, 2024
1 parent 920e7e2 commit 99e6927
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "pre-release"
on:
push:
branches:
- "master"
- "main"
env:
DOTNET_VERSION: '8.0.x'
jobs:
Expand All @@ -24,14 +24,16 @@ jobs:

- name: "Build & test"
run: |
publish.sh
- uses: "marvinpinto/action-automatic-releases@latest"
mkdir -p _output
dotnet publish iTimeSlot.csproj -o _out -c Release -f net8.0 --self-contained true -t:BundleApp
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: true
title: "Development Build"
files: |
LICENSE
_output/*.app

0 comments on commit 99e6927

Please sign in to comment.