From 5da6eb85cb7a7f8566eebf155dcf6229c445d3e6 Mon Sep 17 00:00:00 2001 From: lleyton Date: Wed, 9 Aug 2023 04:10:32 -0700 Subject: [PATCH] fix: get the current branch the proper way (#683) --- .github/workflows/update-comps.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/update-comps.yml b/.github/workflows/update-comps.yml index 70df7eded0..9f8e6723bb 100644 --- a/.github/workflows/update-comps.yml +++ b/.github/workflows/update-comps.yml @@ -16,11 +16,9 @@ jobs: image: ghcr.io/terrapkg/builder:38 steps: - uses: actions/checkout@v3 - - id: get-branch - uses: grandmasterdev/github-action-get-branch@latest - name: Push to subatomic run: | - branch=${{steps.get-branch.outputs.branch-name}} + branch=${{ github.ref_name }} ver=${branch/f/} subatomic-cli upload-comps \ --server https://subatomic.fyralabs.com \