Skip to content

Commit

Permalink
ci: set xdg defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Aug 24, 2023
1 parent d62615c commit f51c30c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/dorothy-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ name: dorothy-workflow
jobs:
test:
runs-on: ubuntu-latest
env:
env: # HOME is [/home/runner] however checkout must be inside workspace, which is [/home/runner/work/dorothy/dorothy], so override and set defaults
HOME: ${{ github.workspace }}
XDG_CONFIG_HOME: ${{ github.workspace }}.config
XDG_CACHE_HOME: ${{ github.workspace }}.cache
XDG_BIN_HOME: ${{ github.workspace }}.local/bin
XDG_DATA_HOME: ${{ github.workspace }}.local/share
XDG_STATE_HOME: ${{ github.workspace }}.local/state
DOROTHY: ${{ github.workspace }}/.local/share/dorothy
VERBOSE: yes
CI_COMMIT_MESSAGE: 'ci: adjustments'
Expand All @@ -25,9 +31,6 @@ jobs:
- name: 'Dorothy Development'
shell: bash
run: |
echo "HOME = ${HOME-}"
echo "XDG_DATA_HOME = ${XDG_DATA_HOME-}"
echo "DOROTHY = ${DOROTHY-}"
chmod +x "$DOROTHY/commands/"*
DOROTHY_LOAD=yes
DOROTHY_LOADED=no
Expand Down

0 comments on commit f51c30c

Please sign in to comment.