Skip to content

Commit

Permalink
adapt to changed .repos name
Browse files Browse the repository at this point in the history
  • Loading branch information
v4hn committed Oct 14, 2024
1 parent fdb1e67 commit 461976f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/aggregate-worker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ runs:
if: steps.restore.outputs.cache-matched-key != ''
run: |
cat ${{ env.REPO }}/pkg_build_status.csv >> ${{ env.AGG }}/pkg_build_status.csv
cat ${{ env.REPO }}/sources.repos |
if [ -f ${{ env.AGG }}/sources.repos ]; then
cat ${{ env.REPO }}/sources_exact.repos |
if [ -f ${{ env.AGG }}/sources_exact.repos ]; then
tail -n+2 # skip "repositories:"
else
cat
fi | tee -a ${{ env.AGG }}/sources.repos
rm -f ${{ env.REPO }}/pkg_build_status.csv ${{ env.REPO }}/sources.repos ${{ env.REPO }}/local.yaml
fi | tee -a ${{ env.AGG }}/sources_exact.repos
rm -f ${{ env.REPO }}/pkg_build_status.csv ${{ env.REPO }}/sources_exact.repos ${{ env.REPO }}/local.yaml
mv ${{ env.REPO }}/* ${{ env.AGG }}

0 comments on commit 461976f

Please sign in to comment.