Skip to content

Commit

Permalink
add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JM-Lemmi committed Nov 19, 2023
1 parent a736920 commit edf54a2
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ on:
jobs:
package:
runs-on: ubuntu-latest
outputs:
packagename: ${{ steps.package.outputs.file_name }}
steps:
- name: Checkout Code
uses: actions/checkout
uses: actions/checkout@v3
- name: Create debpkg structure
run: |
mkdir -p .debpkg/usr/bin/
Expand All @@ -34,5 +36,16 @@ jobs:
name: ${{ steps.package.outputs.file_name }}
path: ${{ steps.package.outputs.file_name }}

name: ${{steps.package.outputs.file_name}}
path: ${{steps.package.outputs.file_name}}
release:
needs: package
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
id: download
with:
name: ${{ needs.package.outputs.packagename }}
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.RELEASE_PAT }}"
prerelease: false
files: ${{ needs.package.outputs.packagename }}

0 comments on commit edf54a2

Please sign in to comment.