Skip to content

Commit

Permalink
Merge pull request #51 from FH-Inway/improve-build-action
Browse files Browse the repository at this point in the history
avoid nested zip by uploading unzipped package
  • Loading branch information
milnet92 authored Dec 2, 2024
2 parents 275471c + 397b916 commit a287d92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,14 @@ jobs:
settingsJson: ${{ env.Settings }}
secretsJson: ${{ env.RepoSecrets }}

- name: Unzip package
run: Expand-Archive -Path ${{ env.ARTIFACTS_PATH }}/*.zip -Destination ${{ env.ARTIFACTS_PATH }}/${{ env.PACKAGE_NAME }}

- name: Publish artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.PACKAGE_NAME }}
path: ${{ env.ARTIFACTS_PATH }}/*.zip
path: ${{ env.ARTIFACTS_PATH }}/${{ env.PACKAGE_NAME }}

- name: Add logs to job summary
run: |
Expand Down

0 comments on commit a287d92

Please sign in to comment.