From 2c5f15be6e6b2b07ce1664921cf8bba5feff3b96 Mon Sep 17 00:00:00 2001 From: acud <12988138+acud@users.noreply.github.com> Date: Fri, 4 Jun 2021 16:47:00 +0200 Subject: [PATCH] ci: apply patches earlier (#1992) --- .github/workflows/beekeeper.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/beekeeper.yml b/.github/workflows/beekeeper.yml index 69c82335a25..da46032ab48 100644 --- a/.github/workflows/beekeeper.yml +++ b/.github/workflows/beekeeper.yml @@ -38,6 +38,11 @@ jobs: with: path: ~/go/pkg/mod key: ${{ runner.os }}-build-${{ hashFiles('**/go.sum') }} + - name: Apply patches + run: | + patch pkg/postage/batchstore/reserve.go .github/patches/postagereserve.patch + patch pkg/postage/postagecontract/contract.go .github/patches/postagecontract.patch + patch pkg/postage/listener/listener.go .github/patches/listener.patch - name: Prepare local cluster run: | printf ${{ secrets.CR_PAT }} | docker login ghcr.io -u bee-worker --password-stdin @@ -47,11 +52,6 @@ jobs: run: | mkdir -p ~/.kube cp /etc/rancher/k3s/k3s.yaml ~/.kube/config - - name: Apply patches - run: | - patch pkg/postage/batchstore/reserve.go .github/patches/postagereserve.patch - patch pkg/postage/postagecontract/contract.go .github/patches/postagecontract.patch - patch pkg/postage/listener/listener.go .github/patches/listener.patch - name: Set local cluster run: | make beelocal ACTION=add-hosts