forked from GenXProject/GenX.jl
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|