Skip to content

Commit

Permalink
Save anaconda.log
Browse files Browse the repository at this point in the history
  • Loading branch information
j-woz committed Sep 11, 2024
1 parent 0e3cbc2 commit 430c9b7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/conda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,17 @@ jobs:
- name: Build Anaconda package
run: |
dev/jenkins/anaconda.sh
dev/github-actions/check dev/jenkins/anaconda.sh
- name: Save anaconda.log
uses: actions/upload-artifact@v4
with:
name: anaconda-log
path: anaconda.log

- name: Check anaconda.log
run: |
grep "anaconda.sh: SUCCESS" tool.log
- name: Report Swift/T version info
run: /tmp/swift-t-install/stc/bin/swift-t -v
Expand Down
8 changes: 8 additions & 0 deletions dev/jenkins/anaconda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,11 @@ print
log "SWIFT/T OK."
log "PKG=$PKG"
print

if [[ ${GITHUB_ACTION:-0} != 0 ]] {
# Record success if on GitHub:
{
log "SUCCESS"
log "PKG=$PKG"
} >> anaconda.log
}

0 comments on commit 430c9b7

Please sign in to comment.