Skip to content

Commit 802ce5b

Browse files
authored
ci: update GHA workflow (#1395)
1 parent a2a8401 commit 802ce5b

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ on: # https://docs.github.com/en/actions/reference/workflows-and-actions/events
3636
required: false
3737
default: ''
3838
debug-with-ssh:
39-
description: "Start an SSH session for debugging purposes at the end of the build:"
39+
description: "When to open an SSH session for post-build debugging:"
4040
default: never
4141
type: choice
4242
options: [ always, on_failure, on_failure_or_cancelled, never ]
4343
debug-with-ssh-only-for-actor:
44-
description: "Limit access to the SSH session to the GitHub user that triggered the job."
44+
description: "Restrict SSH debug session access to the GitHub user who triggered the workflow"
4545
default: true
4646
type: boolean
4747

@@ -66,17 +66,18 @@ jobs:
6666
matrix:
6767
os: # https://github.com/actions/runner-images#available-images
6868
- ubuntu-latest
69-
- macos-15-intel # Intel
70-
- macos-latest # ARM
69+
- macos-15-intel # Intel
70+
- macos-latest # ARM
7171
- windows-latest
7272
runs-on: ${{ matrix.os }}
7373
timeout-minutes: 20
7474

75+
7576
steps:
7677
- name: "Show: GitHub context"
7778
env:
7879
GITHUB_CONTEXT: ${{ toJSON(github) }}
79-
run: echo $GITHUB_CONTEXT
80+
run: printf '%s' "$GITHUB_CONTEXT" | python -m json.tool
8081

8182

8283
- name: "Show: environment variables"
@@ -210,6 +211,15 @@ jobs:
210211
)
211212

212213

214+
- name: "Upload: Repository Zip"
215+
uses: actions/upload-artifact@v5
216+
if: runner.os == 'Linux'
217+
with:
218+
name: org.eclipse.lsp4e.repository-${{matrix.target-platform}}-${{matrix.os}}
219+
path: repository/target/repository-*.zip
220+
retention-days: 14
221+
222+
213223
##################################################
214224
# Setup SSH debug session
215225
##################################################

0 commit comments

Comments
 (0)