Skip to content

Commit cb8d08d

Browse files
committed
Fix ci
1 parent 562e2af commit cb8d08d

1 file changed

Lines changed: 28 additions & 28 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -70,32 +70,32 @@ jobs:
7070
name: EigenLinearSolvers_${{ steps.sofa.outputs.run_branch }}_for-SOFA-${{ steps.sofa.outputs.sofa_version }}_${{ runner.os }}
7171
path: ${{ env.WORKSPACE_ARTIFACT_PATH }}
7272

73-
deploy:
74-
name: Deploy artifacts
75-
if: always() && startsWith(github.ref, 'refs/heads/') # we are on a branch (not a PR)
76-
needs: [build-and-test]
77-
runs-on: ubuntu-latest
78-
continue-on-error: true
79-
steps:
80-
- name: Get artifacts
81-
uses: actions/download-artifact@v2
82-
with:
83-
path: artifacts
73+
deploy:
74+
name: Deploy artifacts
75+
if: always() && startsWith(github.ref, 'refs/heads/') # we are on a branch (not a PR)
76+
needs: [build-and-test]
77+
runs-on: ubuntu-latest
78+
continue-on-error: true
79+
steps:
80+
- name: Get artifacts
81+
uses: actions/download-artifact@v2
82+
with:
83+
path: artifacts
8484

85-
- name: Zip artifacts
86-
shell: bash
87-
run: |
88-
cd $GITHUB_WORKSPACE/artifacts
89-
for artifact in *; do
90-
zip $artifact.zip -r $artifact/*
91-
done
92-
- name: Upload release
93-
uses: softprops/action-gh-release@v1
94-
with:
95-
name: ${{ github.ref_name }}
96-
tag_name: release-${{ github.ref_name }}
97-
fail_on_unmatched_files: true
98-
files: |
99-
artifacts/EigenLinearSolvers_*_Linux.zip
100-
artifacts/EigenLinearSolvers_*_Windows.zip
101-
artifacts/EigenLinearSolvers_*_macOS.zip
85+
- name: Zip artifacts
86+
shell: bash
87+
run: |
88+
cd $GITHUB_WORKSPACE/artifacts
89+
for artifact in *; do
90+
zip $artifact.zip -r $artifact/*
91+
done
92+
- name: Upload release
93+
uses: softprops/action-gh-release@v1
94+
with:
95+
name: ${{ github.ref_name }}
96+
tag_name: release-${{ github.ref_name }}
97+
fail_on_unmatched_files: true
98+
files: |
99+
artifacts/EigenLinearSolvers_*_Linux.zip
100+
artifacts/EigenLinearSolvers_*_Windows.zip
101+
artifacts/EigenLinearSolvers_*_macOS.zip

0 commit comments

Comments
 (0)