Skip to content

Commit

Permalink
Refactor build workflow to remove unnecessary CD commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Zel9278 committed Jan 21, 2024
1 parent 3704d7f commit 493e53d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
cp -r assets target/${{ matrix.target }}/zip
cd target/${{ matrix.target }}/zip
zip -r ../${{ matrix.target }}.zip .
cd ../..
- name: zip for windows
if: matrix.target == 'x86_64-pc-windows-msvc' || matrix.target == 'x86_64-pc-windows-gnu'
run: |
Expand All @@ -67,12 +66,10 @@ jobs:
cp -r assets target/${{ matrix.target }}/zip
cd target/${{ matrix.target }}/zip
powershell Compress-Archive -Path "*" -DestinationPath ../${{ matrix.target }}.zip
cd ../..
- uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
with:
name: ${{ matrix.target }}
path: |
target/${{ matrix.target }}.zip
path: ${{ matrix.target }}.zip
#- name: Upload to release
# if: ${{ inputs.tag-name }}
# working-directory: target/${{ matrix.target }}/release/
Expand Down

0 comments on commit 493e53d

Please sign in to comment.