From 9694bd8813a3ebb7fa6f2fb49b10aefc5230a375 Mon Sep 17 00:00:00 2001 From: yage Date: Fri, 10 Nov 2023 17:24:50 -0700 Subject: [PATCH] v3.7.1 ===================================================================== --- Bug Fixes ---------------------------- - Various github-actions fixes --- .github/workflows/test.yaml | 1 - action.yaml | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 32b1cb8..dedbe25 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,7 +1,6 @@ --- name: Random Test on: push # yamllint disable-line rule:truthy - jobs: test: runs-on: ubuntu-latest diff --git a/action.yaml b/action.yaml index 965c481..b2a9512 100644 --- a/action.yaml +++ b/action.yaml @@ -1,7 +1,7 @@ --- # allow running scwrypts in Github Actions name: scwrypts author: yage -description: check requird dependencies and run a scwrypt +description: check required dependencies and run a scwrypt inputs: scwrypt: @@ -27,7 +27,7 @@ runs: - uses: actions/checkout@v4 with: repository: wrynegade/scwrypts - path: ./scwrypts + path: $HOME/scwrypts ref: ${{ inputs.version }} - name: check dependencies @@ -43,7 +43,7 @@ runs: sudo apt-get update sudo apt-get install --yes zsh fzf ripgrep - for D in $($GITHUB_WORKSPACE/scwrypts/scwrypts -n --name check-all-dependencies --group ci --type zsh) + for D in $($HOME/scwrypts/scwrypts -n --name check-all-dependencies --group ci --type zsh) do echo "--- installing $D ---" ( sudo apt-get install --yes $D; exit 0; ) @@ -51,7 +51,7 @@ runs: } > $HOME/.scwrypts.apt-get.log 2>&1 echo "updating virtual dependencies" - $GITHUB_WORKSPACE/scwrypts/scwrypts -n \ + $HOME/scwrypts/scwrypts -n \ --name scwrypts/virtualenv/update-all \ --group scwrypts \ --type zsh \ @@ -65,4 +65,4 @@ runs: env: CI: true SCWRYPTS_ENV: ${{ inputs.scwrypts-env }} - run: $GITHUB_WORKSPACE/scwrypts/scwrypts ${{inputs.scwrypt}} -- ${{inputs.args}} + run: $HOME/scwrypts/scwrypts ${{inputs.scwrypt}} -- ${{inputs.args}} || exit 1