Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
netflexs authored Sep 27, 2024
1 parent 6341b3b commit 5096522
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ jobs:
needs: build
runs-on: ubuntu-latest

if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

steps:
- name: Download build artifact
uses: actions/download-artifact@v3
Expand All @@ -61,8 +59,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }} # Use the tag name from the push event
release_name: Kernel Build ${{ github.ref_name }}
tag_name: v${{ github.run_number }} # Auto-generate tag using the run number
release_name: Kernel Build v${{ github.run_number }}
draft: false
prerelease: false

Expand All @@ -75,4 +73,3 @@ jobs:
asset_path: kernel-build.tar.gz
asset_name: kernel-build.tar.gz
asset_content_type: application/gzip

0 comments on commit 5096522

Please sign in to comment.