Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
humbletim committed May 30, 2024
1 parent 1962a4d commit 54e9908
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/CompileWindows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,26 @@ jobs:
echo '${{ github.event.inputs.fstuple }}'
echo '${{ fromJSON(github.event.inputs.fstuple) }}'
- name: ~Clone
- name: _gha-inline
run: |
source /d/a/_actions/humbletim/firestorm-gha/tpv-gha-nunja/_gha-inline.sh
echo "BASH_ENV=$(cygpath -was SHELL.env)" | sed 's@\\@\\\\@g' | tee -a $GITHUB_ENV
$gha_fsvr_dir/gha-generate-shell-env.bash | tee -a SHELL.env
echo BASH_ENV=$(cygpath -was SHELL.env) | sed 's@\\@\\\\@g' | tee -a $GITHUB_ENV
source $ghash/gha.ht-ln.bash
ht-ln $gha_fsvr_dir/gha-node20-run ./fsvr-action
mkdir -pv env.d bin bin/pystuff cache repo build
echo cache_id=$(echo "$base-$repo" | sed 's@[^-a-zA-Z0-9_.]@-@g') | tee -a env.d/local.env
source $GITHUB_ENV
source $BASH_ENV
source $ghash/gha.quiet-clone.bash
quiet-clone github.com ${GITHUB_REPOSITORY} ${GITHUB_REF_NAME} fsvr
(
echo cache_id=$(echo "$base-$repo" | sed 's@[^-a-zA-Z0-9_.]@-@g')
echo fsvr_dir=$PWD/fsvr
echo 'function fsvr_step() {( set -Euo pipefail; $fsvr_dir/util/build.sh "$@" ; )} ; declare -xf fsvr_step'
) | tee -a env.d/local.env
- name: ~Clone
run: |
source $ghash/gha.quiet-clone.bash
quiet-clone github.com ${GITHUB_REPOSITORY} ${GITHUB_REF_NAME} ${fsvr_dir}
- name: Generate gha-bootstrap.env
run: |
source $gha_fsvr_dir/fsvr-gha-bootstrap.bash
Expand All @@ -56,7 +61,7 @@ jobs:
with:
run: |
wget --version | head -1
. $gha_fsvr_dir/gha-populate-bin.bash
source $gha_fsvr_dir/gha-populate-bin.bash
gha-populate-bin-windows
- name: Expand Source Repositories
Expand Down
4 changes: 0 additions & 4 deletions _gha-inline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ test -v GITHUB_ACTIONS || { echo "GITHUB_ACTIONS expected" >&2 ; exit 3 ; }
# /d/a/_actions/humbletim/firestorm-gha/tpv-gha-nunja
export gha_fsvr_dir=$(readlink -f $(dirname "${BASH_SOURCE}"))
export ghash=$gha_fsvr_dir/gha
source $ghash/gha.ht-ln.bash
ht-ln $gha_fsvr_dir/gha-node20-run ./fsvr-action

export PATH="$PATH:/c/ProgramData/Chocolatey/bin"
jq '.inputs.fstuple|fromjson' $GITHUB_EVENT_PATH \
Expand All @@ -14,5 +12,3 @@ jq '.inputs.fstuple|fromjson' $GITHUB_EVENT_PATH \

source $GITHUB_ENV
export workspace=${GITHUB_WORKSPACE:-${workspace:-$PWD}}

$gha_fsvr_dir/gha-generate-shell-env.bash | tee -a SHELL.env

0 comments on commit 54e9908

Please sign in to comment.