stickers size fixes #6
Workflow file for this run
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
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: admin | |
permissions: | |
contents: write | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
#push: | |
#branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
#workflow_dispatch: | |
push: | |
tags: | |
- "v*-a" | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
run: dotnet restore OneShelf.Admin/OneShelf.Admin.Web/OneShelf.Admin.Web.csproj | |
- name: Publish 11 | |
run: dotnet publish OneShelf.Admin/OneShelf.Admin.Web/OneShelf.Admin.Web.csproj --no-restore | |
- run: Compress-Archive -Path OneShelf.Admin/OneShelf.Admin.Web/bin/Release/net8.0/publish/* -Destination OneShelf.Admin.Web.zip | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: true | |
files: | | |
LICENSE | |
*.zip |