Skip to content

Commit 372f0c3

Browse files
committed
Fix copilot agents setup
Turns out that copilot agents actually just support Linux runners (and to a limited extend Windows): https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment
1 parent f1d7c30 commit 372f0c3

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,35 +11,25 @@ on:
1111
jobs:
1212
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
1313
copilot-setup-steps:
14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
config:
18-
- { os: 'linux' , runner: ubuntu-latest }
19-
- { os: 'macosx', runner: macos-latest }
20-
- { os: 'win32' , runner: windows-latest }
21-
runs-on: ${{ matrix.config.runner }}
14+
runs-on: ubuntu-latest
2215
permissions:
2316
contents: read
2417
steps:
2518
- name: Checkout code
2619
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2720
with:
2821
lfs: false
29-
3022
- name: Set up JDK
3123
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
3224
with:
3325
java-version: '21'
3426
distribution: 'temurin'
3527
cache: 'maven'
36-
3728
- name: Set up Maven
3829
uses: stCarolas/setup-maven@12eb41b233df95d49b0c11fc1b5bc8312e5d4ce0 # v5.1
3930
with:
4031
maven-version: '3.9.14'
41-
- name: Prepare Linux Build
42-
if: ${{ matrix.config.os == 'linux' }}
32+
- name: Install SWT Linux Build Dependencies
4333
run: |
4434
sudo apt-get update -qq
4535
sudo apt-get install -qq -y libgtk-3-dev libgtk-4-dev freeglut3-dev webkit2gtk-driver

0 commit comments

Comments
 (0)