Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
FINAL FIX for the workflow (#17)
Browse files Browse the repository at this point in the history
* Update create-repo.sh

According to github var documentation
Source : https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables

* FINAL FIX (probably)

Read a total of 3 github doc, the solution was indeed the variable $GITHUB_WORKSPACE who return the repo path inside the workflow VM.

* FINAL RELEASE

Typo. 😤
  • Loading branch information
kitsumed authored Feb 3, 2024
1 parent ba43906 commit f841505
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/scripts/create-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,7 @@ done | jq -sr '[.[]]' > index.json
# Alternate minified copy
jq -c '.' < index.json > index.min.json

#TMP PRINT OUT TREE IN CONSOLE FOR DEBUGGING (WELP)
tree ./
echo --------
ls /home/runner/
echo --------
ls $GITHUB_WORKSPACE
echo --------
ls $GITHUB_WORKSPACE/../main
echo --------

# Create repo.json file from releases-config.json
#cp -f ../main/releases-config.json ./repo.json
cp -f $GITHUB_WORKSPACE/main/releases-config.json $GITHUB_WORKSPACE/releases/repo.json

cat index.json

0 comments on commit f841505

Please sign in to comment.