mirror of
https://github.com/nsnail/dot.git
synced 2025-06-17 21:13:21 +08:00
Compare commits
No commits in common. "7ea61043aaa8fdf30916cfa38bf6adaa88dcfa55" and "f934b591c763d3e9d8156885cd2a39d01920e504" have entirely different histories.
7ea61043aa
...
f934b591c7
52
.github/workflows/ci.yml
vendored
52
.github/workflows/ci.yml
vendored
@ -1,50 +1,4 @@
|
|||||||
|
# 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: CI
|
name: CI
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- v*
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: windows-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
filter: tree:0
|
|
||||||
- uses: actions/setup-dotnet@v3
|
|
||||||
with:
|
|
||||||
dotnet-version: 8.0.x
|
|
||||||
- uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ~/.nuget/packages
|
|
||||||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
|
|
||||||
restore-keys: ${{ runner.os }}-nuget
|
|
||||||
- working-directory: ./src/backend/Dot
|
|
||||||
run: dotnet publish Dot.csproj -f net8.0-windows -r win-x64 -c Release
|
|
||||||
- working-directory: ./src/backend/Dot
|
|
||||||
run: dotnet publish Dot.csproj -f net8.0 -r linux-x64 -c Release
|
|
||||||
- uses: actions/create-release@v1
|
|
||||||
id: create_release
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
tag_name: ${{ github.ref }}
|
|
||||||
release_name: Release ${{ github.ref }}
|
|
||||||
draft: false
|
|
||||||
prerelease: false
|
|
||||||
- uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: ./dist/backend/Dot/bin/Release/net8.0-windows/win-x64/publish/dot.exe
|
|
||||||
asset_name: dot-win-x64.exe
|
|
||||||
asset_content_type: application/octet-stream
|
|
||||||
- uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: ./dist/backend/Dot/bin/Release/net8.0/linux-x64/publish/dot
|
|
||||||
asset_name: dot-linux-x64
|
|
||||||
asset_content_type: application/octet-stream
|
|
@ -2,13 +2,6 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||||
|
|
||||||
### [2.0.1](https://github.com/nsnail/dot/compare/v1.1.1...v2.0.1) (2023-12-14)
|
|
||||||
|
|
||||||
|
|
||||||
### Bug Fixes
|
|
||||||
|
|
||||||
* 🐛 构建脚本缺陷 ([#15](https://github.com/nsnail/dot/issues/15)) ([d4d5467](https://github.com/nsnail/dot/commit/d4d5467656182457e6cb3a679026ac596676e81c))
|
|
||||||
|
|
||||||
## [2.0.0](https://github.com/nsnail/dot/compare/v1.1.1...v2.0.0) (2023-12-13)
|
## [2.0.0](https://github.com/nsnail/dot/compare/v1.1.1...v2.0.0) (2023-12-13)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "2.0.1",
|
"version": "2.0.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"cz-git": "^1.7.1",
|
"cz-git": "^1.7.1",
|
||||||
"commitizen": "^4.3.0",
|
"commitizen": "^4.3.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user