summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-06-08 20:35:30 -0400
committerPete Johanson <peter@peterjohanson.com>2020-06-08 20:35:30 -0400
commit76ae92b0fc99eca624ebc0e1305444d55bcb7776 (patch)
tree907fe408714b1f6a2274e0923cc41fd82cd1bf04 /.github
parentb4a83fa945e584be23ea5128f7cfc728108be996 (diff)
Try some directory tweaks
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c5bed9c..90a76bb 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -9,33 +9,39 @@ jobs:
# you must check out the repository
- name: Checkout
uses: actions/checkout@v2
+ - name: Move files into workspace subdirectory
+ run: |
+ mkdir -p workspace/zmk
+ mv * workspace/zmk || true
- name: West Init
uses: ./.github/actions/zephyr-west # Uses an action in the root directory
id: west-init
with:
command: 'init'
- command-args: '-l .'
- - name: list files
- run: 'ls ../'
+ command-args: '-l workspace/zmk'
- name: West Update
uses: ./.github/actions/zephyr-west # Uses an action in the root directory
id: west-update
+ working-directory: 'workspace/zmk'
with:
command: 'update'
- name: West Config Zephyr Base
uses: ./.github/actions/zephyr-west # Uses an action in the root directory
id: west-config
+ working-directory: 'workspace/zmk'
with:
command: 'config'
command-args: '--global zephyr.base-prefer configfile'
- name: West Zephyr Export
uses: ./.github/actions/zephyr-west # Uses an action in the root directory
id: west-zephyr-export
+ working-directory: 'workspace/zmk'
with:
command: 'zephyr-export'
- name: West Build
uses: ./.github/actions/zephyr-west # Uses an action in the root directory
id: west-build
+ working-directory: 'workspace/zmk'
with:
command: 'build'
command-args: '-b nucleo_wb55rg -- -DSHIELD=petejohanson_handwire'