Skip to content

Merge pull request #14 from Frissi0n/bugfix/missing-shell-spawn #3

Merge pull request #14 from Frissi0n/bugfix/missing-shell-spawn

Merge pull request #14 from Frissi0n/bugfix/missing-shell-spawn #3

name: Publish File to Release
on:
push:
branches:
- main
paths:
- "gtfonow/gtfonow.py"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Conventional Changelog Action
id: changelog
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.github_token }}
skip-version-file: true
- name: Create Release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: gtfonow/gtfonow.py
asset_name: gtfonow.py
tag: ${{ steps.changelog.outputs.tag }}