Skip to content

bugfix: incorrect branch for automation #3

bugfix: incorrect branch for automation

bugfix: incorrect branch for automation #3

Workflow file for this run

---
name: "pre-release"
on:
push:
branches:
- "main"
env:
DOTNET_VERSION: '8.0.x'
jobs:
pre-release:
name: "Pre Release"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Install dependencies
run: dotnet restore
- name: "Build & test"
run: |
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:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: true