Skip to content

Commit

Permalink
Revert to release based workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sidevesh committed Jul 2, 2023
1 parent 22d9fcc commit b14c1a7
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
name: Upload release assets

name: Upload Release Asset
on:
release:
types:
- created

jobs:
build:
Expand All @@ -25,17 +24,6 @@ jobs:
- name: Build Debian package
run: ./build-deb.sh

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

- name: Upload deb package
uses: svenstaro/upload-release-action@v2
with:
Expand Down

0 comments on commit b14c1a7

Please sign in to comment.