-
-
Notifications
You must be signed in to change notification settings - Fork 978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preventing nested zipping of the portable Windows build #7950
Conversation
Preventing nested zipping of the portable Windows build. 😊
Is this still needed? Recent releases and nightly builds do not have nested zip files I believe. |
Will check later, |
@Noisyfox |
@Noisyfox
Originally posted by @tlhintoq in #8038 (comment) |
That's PR build, which is uploaded by github's own action |
Ah! But I think most tinkerers rely on the dev builds as you want to test a specific PR rather than the nightly build and if you don't want to compromise your current installation you need to go with the portabel version. I hope that makes sense. The changes I made are not state of the art, but that's all I was able to achieve. |
.github/workflows/build_orca.yml
Outdated
# if: inputs.os == 'windows-latest' | ||
# working-directory: ${{ github.workspace }}/build | ||
# shell: cmd | ||
# run: '"C:/Program Files/7-Zip/7z.exe" a -tzip OrcaSlicer_Windows_${{ env.ver }}_portable.zip ${{ github.workspace }}/build/OrcaSlicer' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you have to uncomment these part otherwise the zip file doesn't exist.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's the thing.
If this is uncommented the files get zipped the 1st time and than it gets zipped the second time with this:
- name: Upload artifacts Win zip
if: inputs.os == 'windows-latest'
uses: actions/upload-artifact@v4
with:
name: OrcaSlicer_Windows_${{ env.ver }}_portable
path: ${{ github.workspace }}/build/OrcaSlicer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As long as Path points to the dir not the zip it should be fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks~ I'll merge this once the PR build completed.
As stated in the header.
Makes extracting the actually required files a bit easier. 😊