Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dissectum committed Sep 14, 2023
1 parent 0222d0b commit acc65a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ jobs:
fail-fast: false
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
PUBLISH_NAME: ${{ matrix.project }}-${{ needs.meta.outputs.tag }}-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.suffix }}
PUBLISH_PATH: ./Publish/${{ matrix.project }}-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.suffix }}/
PUBLISH_NAME: ${{ matrix.project }}-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.suffix }}-${{ needs.meta.outputs.tag }}
PUBLISH_PATH: ./Publish #./Publish/${{ matrix.project }}-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.suffix }}/
CSPROJ_PATH: ./src/${{ matrix.project }}/${{ matrix.project }}.csproj
PUBXML_PATH: ./src/${{ matrix.project }}/Properties/PublishProfiles/${{ matrix.os }}-${{ matrix.arch }}${{ matrix.suffix }}.pubxml

Expand All @@ -90,14 +90,14 @@ jobs:
path: ${{ env.PUBLISH_PATH }}

- name: Pack
#if: ${{ needs.meta.outputs.is_release == 'true' }}
if: ${{ needs.meta.outputs.is_release == 'true' }}
working-directory: ${{ env.PUBLISH_PATH }}
run: 7z a -r ../$f.zip ./*
run: 7z a -r ../${{ env.PUBLISH_NAME }}.zip ./*

- uses: softprops/action-gh-release@v1
if: ${{ needs.meta.outputs.is_release == 'true' }}
with:
body_path: CHANGELOG.md
prerelease: true
files: Publish/*.zip
files: ${{ env.PUBLISH_NAME }}.zip
tag_name: ${{ needs.meta.outputs.tag }}

0 comments on commit acc65a1

Please sign in to comment.