=====================================================================

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

- Various github-actions fixes
This commit is contained in:
Wryn (yage) Wagner 2023-11-10 17:24:50 -07:00
parent f50c15b6ef
commit 9694bd8813
2 changed files with 5 additions and 6 deletions

View File

@ -1,7 +1,6 @@
--- ---
name: Random Test name: Random Test
on: push # yamllint disable-line rule:truthy on: push # yamllint disable-line rule:truthy
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -1,7 +1,7 @@
--- # allow running scwrypts in Github Actions --- # allow running scwrypts in Github Actions
name: scwrypts name: scwrypts
author: yage author: yage
description: check requird dependencies and run a scwrypt description: check required dependencies and run a scwrypt
inputs: inputs:
scwrypt: scwrypt:
@ -27,7 +27,7 @@ runs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
repository: wrynegade/scwrypts repository: wrynegade/scwrypts
path: ./scwrypts path: $HOME/scwrypts
ref: ${{ inputs.version }} ref: ${{ inputs.version }}
- name: check dependencies - name: check dependencies
@ -43,7 +43,7 @@ runs:
sudo apt-get update sudo apt-get update
sudo apt-get install --yes zsh fzf ripgrep 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 do
echo "--- installing $D ---" echo "--- installing $D ---"
( sudo apt-get install --yes $D; exit 0; ) ( sudo apt-get install --yes $D; exit 0; )
@ -51,7 +51,7 @@ runs:
} > $HOME/.scwrypts.apt-get.log 2>&1 } > $HOME/.scwrypts.apt-get.log 2>&1
echo "updating virtual dependencies" echo "updating virtual dependencies"
$GITHUB_WORKSPACE/scwrypts/scwrypts -n \ $HOME/scwrypts/scwrypts -n \
--name scwrypts/virtualenv/update-all \ --name scwrypts/virtualenv/update-all \
--group scwrypts \ --group scwrypts \
--type zsh \ --type zsh \
@ -65,4 +65,4 @@ runs:
env: env:
CI: true CI: true
SCWRYPTS_ENV: ${{ inputs.scwrypts-env }} SCWRYPTS_ENV: ${{ inputs.scwrypts-env }}
run: $GITHUB_WORKSPACE/scwrypts/scwrypts ${{inputs.scwrypt}} -- ${{inputs.args}} run: $HOME/scwrypts/scwrypts ${{inputs.scwrypt}} -- ${{inputs.args}} || exit 1