Skip to content

Commit

Permalink
ci: debu
Browse files Browse the repository at this point in the history
  • Loading branch information
busla committed Feb 21, 2021
1 parent 40b9b80 commit e839e6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
source .venv/bin/activate
sphinx-build -c projects/foundation/ projects/foundation/ foundation_build
sphinx-build -c projects/analysis_1/ projects/analysis_1/ analysis_1_build
ls -alR .
- name: zip-build
id: zip_build
# Use zip instead of tar to support non-tech users that want to download the artifact
Expand All @@ -78,7 +79,7 @@ jobs:
export ANALYSIS_1_HASH=${{ hashFiles('projects/analysis_1/') }}
echo ${FOUNDATION_HASH}
cd ${{ github.workspace }}/foundation_build && zip -r "${BUILD_PREFIX}-${FOUNDATION_HASH}" * && mv "${BUILD_PREFIX}-${FOUNDATION_HASH}".zip ${{ github.workspace }}/artifacts/foundation
cd ${{ github.workspace }}/analysis_1 && zip -r "${BUILD_PREFIX}-${ANALYSIS_1_HASH}" * && mv "${BUILD_PREFIX}-${ANALYSIS_1_HASH}".zip ${{ github.workspace }}/artifacts/analysis_1 && cd ..
cd ${{ github.workspace }}/analysis_1 && zip -r "${BUILD_PREFIX}-${ANALYSIS_1_HASH}" * && mv "${BUILD_PREFIX}-${ANALYSIS_1_HASH}".zip ${{ github.workspace }}/artifacts/analysis_1
ls -alR ${{ github.workspace }}/artifacts
#----------------------------------------------
# Store current branch name as output for reuse as dir name on remote host
Expand Down

0 comments on commit e839e6e

Please sign in to comment.