Skip to content

Commit

Permalink
v3.7.1
Browse files Browse the repository at this point in the history
=====================================================================

--- Bug Fixes ----------------------------

- Various github-actions fixes
  • Loading branch information
wrynegade committed Nov 11, 2023
1 parent f50c15b commit 9694bd8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: Random Test
on: push # yamllint disable-line rule:truthy

jobs:
test:
runs-on: ubuntu-latest
Expand Down
10 changes: 5 additions & 5 deletions action.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -27,7 +27,7 @@ runs:
- uses: actions/checkout@v4
with:
repository: wrynegade/scwrypts
path: ./scwrypts
path: $HOME/scwrypts
ref: ${{ inputs.version }}

- name: check dependencies
Expand All @@ -43,15 +43,15 @@ 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; )
done
} > $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 \
Expand All @@ -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

0 comments on commit 9694bd8

Please sign in to comment.