Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dissectum committed Sep 14, 2023
1 parent c209b25 commit 883774f
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,23 +81,19 @@ jobs:
cache-dependency-path: '**/packages.lock.json'
- run: dotnet restore --locked-mode

- run: ls ./src/MBA.Cli
- run: ls ./src/MBA.Cli/Properties
- run: ls ./src/MBA.Cli/Properties/PublishProfiles

- run: dotnet publish ${{ env.CSPROJ_PATH }} --no-restore -p:Version=${{ needs.meta.outputs.version }} -p:PublishProfile=${{ env.PUBXML_PATH }}

- name: Pack
shell: bash
run: |
cd ${{ env.PUBLISH_PATH }}
zip -r ../$f.zip ./*
- uses: actions/upload-artifact@v3
if: always()
with:
name: ${{ env.PUBLISH_NAME }}
path: ${{ env.PUBLISH_PATH }}

- name: Pack
#if: ${{ needs.meta.outputs.is_release == 'true' }}
run: |
cd ${{ env.PUBLISH_PATH }}
7z a -r ../$f.zip ./*
- uses: softprops/action-gh-release@v1
if: ${{ needs.meta.outputs.is_release == 'true' }}
Expand Down

0 comments on commit 883774f

Please sign in to comment.