-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- exit->quit in gdb cmdlist - remove unnecessary backtrace gdb cmd - remove mymake output buffering for all platforms - remove `brew update` step - move from to-be-deprecated emscripten container - add a helper log-saver workflow - switch to podman instead of docker
- Loading branch information
1 parent
872301c
commit 55ce392
Showing
5 changed files
with
35 additions
and
5 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
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Github CI log archiver | ||
on: | ||
workflow_run: | ||
workflows: ["Github CI"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
save_logs: | ||
name: Save run logs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download log archive | ||
run: | | ||
curl -sI -u ${{ github.repository_owner }}:${{ github.token }} \ | ||
https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.event.workflow_run.id }}/logs > response.txt | ||
DOWNLOAD_LINK="https:"$(cat response.txt | grep -Fi Location: | cut -d: -f3) | ||
DOWNLOAD_LINK=${DOWNLOAD_LINK%$'\r'} | ||
curl -JO "$DOWNLOAD_LINK" | ||
- name: Unpack log archive | ||
id: archive_unpack | ||
run: | | ||
LOG_FILENAME=$(ls logs* | cut -d. -f1) | ||
echo "::set-output name=log_filename::$LOG_FILENAME" | ||
7z x -ologs "$LOG_FILENAME".zip | ||
- name: Upload log archive as an artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ steps.archive_unpack.outputs.log_filename }} | ||
path: logs/** | ||
- name: Print the link to the base run | ||
run: echo "::warning::This log was saved from https://github.com/${{ github.repository }}/actions/runs/${{ github.event.workflow_run.id }}" |
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
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
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