Skip to content

Commit

Permalink
update release
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedAnouar committed May 28, 2024
1 parent cdd752a commit e6f7a92
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
build:
name: Create Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -25,16 +27,9 @@ jobs:
run: |
pip install pyinstaller
pyinstaller --clean --onefile jenkins.py
continue-on-error: true
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
tar -cvf release.tar.gz dist/
- uses: ncipollo/release-action@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Release
draft: false
prerelease: false
artifacts: "release.tar.gz"
generateReleaseNotes: true
#bodyFile: "body.md"

0 comments on commit e6f7a92

Please sign in to comment.