Skip to content

Commit

Permalink
fix: release workflow is not working
Browse files Browse the repository at this point in the history
Signed-off-by: pehlicd <65170388+pehlicd@users.noreply.github.com>
  • Loading branch information
pehlicd committed Nov 29, 2024
1 parent 35f6ad0 commit 9cec027
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: release
on:
push:
tags: ['v*.*.*']
branches:
- fix-release-workflow-swc-error
workflow_dispatch:
inputs:
version:
Expand All @@ -16,26 +18,26 @@ permissions:
issues: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v5
with:
go-version: '1.23'
- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# goreleaser:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - run: git fetch --force --tags
# - uses: actions/setup-go@v5
# with:
# go-version: '1.23'
# - uses: goreleaser/goreleaser-action@v5
# with:
# distribution: goreleaser
# version: latest
# args: release --clean
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
containerize:
runs-on: ubuntu-latest
needs: goreleaser
# needs: goreleaser
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 9cec027

Please sign in to comment.