forked from SoftFever/OrcaSlicer
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5034cd5
commit c5ff49f
Showing
1 changed file
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -278,17 +278,6 @@ jobs: | |
asset_content_type: application/octet-stream | ||
max_releases: 1 | ||
|
||
- name: Deploy orca_custom_preset_tests | ||
if: ${{ ! env.ACT && github.ref == 'refs/heads/main' && inputs.os == 'ubuntu-20.04' }} | ||
uses: WebFreak001/[email protected] | ||
with: | ||
upload_url: https://uploads.github.com/repos/Snapmaker/OrcaSlicer/releases/169912305/assets{?name,label} | ||
release_id: 169912305 | ||
asset_path: ${{ github.workspace }}/resources/profiles/orca_custom_preset_tests.zip | ||
asset_name: orca_custom_preset_tests.zip | ||
asset_content_type: application/octet-stream | ||
max_releases: 1 | ||
|
||
- name: Build slicer | ||
if: inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' | ||
shell: bash | ||
|
@@ -299,15 +288,6 @@ jobs: | |
mv -n ./build/Snapmaker_Orca_Linux_V${{ env.ver_pure }}.AppImage ./build/Snapmaker_Orca_Linux${{ env.ubuntu-ver-str }}_${{ env.ver }}.AppImage | ||
chmod +x ./build/Snapmaker_Orca_Linux${{ env.ubuntu-ver-str }}_${{ env.ver }}.AppImage | ||
- name: Build orca_custom_preset_tests | ||
if: github.ref == 'refs/heads/main' && inputs.os == 'ubuntu-20.04' | ||
working-directory: ${{ github.workspace }}/build/src | ||
shell: bash | ||
run: | | ||
./Snapmaker_Orca_profile_validator -p ${{ github.workspace }}/resources/profiles -g 1 | ||
cd ${{ github.workspace }}/resources/profiles | ||
zip -r orca_custom_preset_tests.zip user/ | ||
- name: Upload artifacts Ubuntu | ||
if: ${{ ! env.ACT && inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' }} | ||
env: | ||
|
@@ -330,4 +310,24 @@ jobs: | |
asset_path: ./build/Snapmaker_Orca_Linux${{ env.ubuntu-ver-str }}_${{ env.ver }}.AppImage | ||
asset_name: Snapmaker_Orca_Linux${{ env.ubuntu-ver-str }}_${{ env.ver }}.AppImage | ||
asset_content_type: application/octet-stream | ||
max_releases: 1 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted | ||
max_releases: 1 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted | ||
|
||
- name: Build orca_custom_preset_tests | ||
if: github.ref == 'refs/heads/main' && inputs.os == 'ubuntu-20.04' | ||
working-directory: ${{ github.workspace }}/build/src | ||
shell: bash | ||
run: | | ||
./Snapmaker_Orca_profile_validator -p ${{ github.workspace }}/resources/profiles -g 1 | ||
cd ${{ github.workspace }}/resources/profiles | ||
zip -r orca_custom_preset_tests.zip user/ | ||
- name: Deploy orca_custom_preset_tests | ||
if: ${{ ! env.ACT && github.ref == 'refs/heads/main' && inputs.os == 'ubuntu-20.04' }} | ||
uses: WebFreak001/[email protected] | ||
with: | ||
upload_url: https://uploads.github.com/repos/Snapmaker/OrcaSlicer/releases/169912305/assets{?name,label} | ||
release_id: 169912305 | ||
asset_path: ${{ github.workspace }}/resources/profiles/orca_custom_preset_tests.zip | ||
asset_name: orca_custom_preset_tests.zip | ||
asset_content_type: application/octet-stream | ||
max_releases: 1 |