Skip to content

Commit

Permalink
Merge pull request PelicanPlatform#1864 from jhiemstrawisc/issue-1863
Browse files Browse the repository at this point in the history
Run release action against triggering tag instead of checking out branch
  • Loading branch information
Saartank authored Jan 7, 2025
2 parents ca7bce0 + a7434eb commit 5131f57
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# .github/workflows/release.yaml
name: goreleaser
name: Generate Release Artifacts

on:
push:
Expand All @@ -18,15 +18,11 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Set Branch
id: set_branch
run: |
echo "branch=${GITHUB_REF_NAME%.*}.x" >> $GITHUB_OUTPUT
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ steps.set_branch.outputs.branch }}
ref: ${{ github.ref_name }}
- uses: actions/setup-node@v4
with:
node-version: 20
Expand Down

0 comments on commit 5131f57

Please # to comment.