Skip to content
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

Include a additional entry to build.yml to pack source code + submodules #372

Merged
merged 6 commits into from
Jun 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -506,10 +506,29 @@ jobs:
cmake --build .
./Example_ExtractInfo ../../../Examples/Files/Helix.3mf

deploy-source-code-with-submodules:
runs-on: ubuntu-20.04
needs: [ set-lib3mf-version, assemble-sdk ]
env:
LIB3MF_VERSION: ${{ needs.set-lib3mf-version.outputs.lib3mf-version }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- run: |
mkdir -p lib3mf-${{ env.LIB3MF_VERSION }}-source-with-submodules
rsync -av --progress . ./lib3mf-${{ env.LIB3MF_VERSION }}-source-with-submodules --exclude .git --exclude .gitignore --exclude .github --exclude .gitmodules --exclude *.yml --exclude lib3mf-${{ env.LIB3MF_VERSION }}-source-with-submodules
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: lib3mf-${{ env.LIB3MF_VERSION }}-source-with-submodules
path: lib3mf-${{ env.LIB3MF_VERSION }}-source-with-submodules



set-integration-tests-status:
runs-on: ubuntu-20.04
needs: [ deploy-linux, deploy-windows, deploy-macos ]
needs: [ deploy-linux, deploy-windows, deploy-macos, deploy-source-code-with-submodules ]
outputs:
run_integration_tests: ${{ steps.set-status.outputs.run_integration_tests }}
steps:
Expand Down
Loading