From fd3ed005a0b185c080614cac69ff6c5e84abeff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20=C3=96zpolat?= Date: Wed, 31 Jul 2024 00:26:23 +0300 Subject: [PATCH] test publish code --- .github/workflows/dotnet.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 92d6754..0ecc588 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -22,11 +22,11 @@ jobs: run: dotnet restore - name: Build run: dotnet publish --configuration Release --output ./publish + - name: Create Zip Archive + run: zip -r ./$GITHUB_SHA.zip ./publish - name: Release uses: softprops/action-gh-release@v1 with: - files: ./publish/* - token: ${{ secrets.GITHUB_TOKEN }} + files: ./$GITHUB_SHA.zip tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - body: ${{ github.ref }} + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file