Skip to content

Commit

Permalink
ci: fix broken release step
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBigRoomXXL committed Sep 12, 2023
1 parent eb9f3fd commit 6bf222f
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build-and-release
on:
push:
tags:
- "*.*.*"
- "v*.*.*"
jobs:
build-and-release:
runs-on: ubuntu-latest
Expand All @@ -19,13 +19,7 @@ jobs:
- name: build
run: go build

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
files: tinyfeed
draft: false
prerelease: false
- name: release
uses: ncipollo/release-action@v1
with:
artifacts: "tinyfeed"

0 comments on commit 6bf222f

Please sign in to comment.