Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #62 from protocol/fix-checkout-order
Browse files Browse the repository at this point in the history
fix checkout order in copy workflow
  • Loading branch information
marten-seemann authored Apr 9, 2021
2 parents ddffd51 + ad7c2cc commit 10deeff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/copy-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
repository: ${{ matrix.cfg.target }}
token: ${{ secrets.WEB3BOT_GITHUB_TOKEN }}
persist-credentials: true
- name: Checkout template repository
uses: actions/checkout@v2
with:
path: ${{ env.TEMPLATE_REPO_DIR }}
- name: GitHub user config
run: |
org=$(echo "${{ matrix.cfg.target }}" | cut -f1 -d"/")
Expand Down Expand Up @@ -89,10 +93,6 @@ jobs:
git add .
git commit -m "run gofmt -s"
fi
- name: Checkout template repository
uses: actions/checkout@v2
with:
path: ${{ env.TEMPLATE_REPO_DIR }}
- name: Add files
run: |
for f in $(jq -r ".[]" <<< '${{ toJson(github.event.client_payload.files) }}'); do
Expand Down

0 comments on commit 10deeff

Please sign in to comment.