Skip to content

Commit a42137f

Browse files
committed
removed publish and release
1 parent bacbefd commit a42137f

1 file changed

Lines changed: 0 additions & 38 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ on:
88
branches: [ "main" ]
99
pull_request:
1010
branches: [ "main" ]
11-
tags:
12-
- "v*"
1311
workflow_dispatch:
1412

1513
jobs:
@@ -40,39 +38,3 @@ jobs:
4038
run: dotnet build --no-restore
4139
- name: Test
4240
run: dotnet test --no-build --verbosity normal
43-
- name: Publish for ${{ matrix.rid }}
44-
run: dotnet publish -c Release -r ${{ matrix.rid }} --self-contained true -p:PublishSingleFile=true -p:UseAppHost=true -p:PublishTrimmed=true -o ./publish/${{ matrix.rid }}
45-
- name: Upload artifact
46-
uses: actions/upload-artifact@v4
47-
with:
48-
name: FolderSync-${{ matrix.rid }}
49-
path: ./publish/${{ matrix.rid }}
50-
51-
release:
52-
name: Create release
53-
needs: build
54-
runs-on: ubuntu-latest
55-
permissions:
56-
contents: write
57-
packages: write
58-
steps:
59-
- name: Download all artifacts
60-
uses: actions/download-artifact@v4
61-
with:
62-
path: ./artifacts
63-
- name: Create Release
64-
id: create_release
65-
uses: softprops/action-gh-release@v2
66-
with:
67-
tag_name: ${{ github.ref_name }}
68-
name: build-${{ github.ref_name }}
69-
env:
70-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71-
- name: Upload Release Assets
72-
uses: softprops/action-gh-release@v2
73-
with:
74-
tag_name: ${{ github.ref_name }}
75-
files: ./artifacts/**
76-
env:
77-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78-

0 commit comments

Comments
 (0)