Skip to content

Commit

Permalink
touch
Browse files Browse the repository at this point in the history
  • Loading branch information
kilianc committed May 15, 2024
1 parent f055d4a commit 6223238
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ runs:
shell: bash
run: |
export INPUTS_BRANCH="${{ inputs.branch }}"
export INPUTS_PATH="${{ inputs.path }}"
${GITHUB_ACTION_PATH}/scripts/pull.sh
- name: Push Coverage
Expand Down
3 changes: 3 additions & 0 deletions scripts/pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ else
git checkout --orphan "${INPUTS_BRANCH}"
rm .git/index
git clean -fdx
touch "${INPUTS_PATH}/head/head.html"
touch "${INPUTS_PATH}/head/head.txt"
touch "${INPUTS_PATH}/head/head.out"
fi
4 changes: 2 additions & 2 deletions scripts/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ done

# if we are on the main branch, copy files to main.*

# if [ "${REF_NAME}" = "main" ]; then
if [ "${REF_NAME}" = "main" ]; then
cp "revisions/${REVISION}.html" "${cover_dir}/head/head.html"
cp "revisions/${REVISION}.txt" "${cover_dir}/head/head.txt"
cp "revisions/${REVISION}.out" "${cover_dir}/head/head.out"
# fi
fi

# copy assets

Expand Down

0 comments on commit 6223238

Please sign in to comment.