Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lbonaldo committed Nov 15, 2023
1 parent ffcb70d commit 8418bba
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,26 @@ jobs:
run: |
git checkout -b ${GITHUB_REF#refs/heads/}-testlogs
mkdir test/Logs; cd test/Logs
mkdir -p ~/.ssh
chmod 700 ~/.ssh
echo $SSH_KEY > ~/.ssh/id_rsa
git config --global init.defaultBranch main
git init
git config --local user.name GenXProject
git config --local user.email "[email protected]"
git remote add testlog https://[email protected]/GenXProject/GenX-testlog.git
git remote add testlog [email protected]:lbonaldo/testlog.git
cat << EOF > ~/.ssh/config
Host github.com
User git
ForwardX11 no
IdentityFile ~/.ssh/id_rsa
EOF
git pull testlog main
if [ -d Logs_v${{ matrix.version }} ]; then
mv Logs_v${{ matrix.version }}/*.log .
else
mkdir Logs_v${{ matrix.version }}
fi
env:
LOG_TOKEN: ${{ secrets.LOG_TOKEN }}
LOG_TOKEN: ${{ secrets.SSH_KEY }}
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
Expand Down

0 comments on commit 8418bba

Please sign in to comment.