From f742ef3cb186fef2b2b707eb00d355f4c1151f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Krzy=C5=BCanowski?= Date: Sun, 6 Oct 2024 13:30:15 +0200 Subject: [PATCH] fix: add step to fetch and pull latest changes --- publish-package/action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/publish-package/action.yml b/publish-package/action.yml index 45583a2..8855cfc 100644 --- a/publish-package/action.yml +++ b/publish-package/action.yml @@ -20,6 +20,12 @@ runs: GH_ACTOR: ${{ inputs.GH_ACTOR }} GH_TOKEN: ${{ inputs.GH_TOKEN }} + - name: Fetch and pull latest changes + shell: bash + run: | + git fetch origin + git pull origin main + - name: Build shell: bash run: npm run build