Skip to content

Commit

Permalink
add: debug statements and corrected the release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
GhostVaibhav committed Jun 8, 2024
1 parent 114d4c8 commit 7351865
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Publish Release Artifacts

on: workflow_dispatch
on:
workflow_dispatch:
inputs:
majorVersion:
description: 'Major version number'
required: true
minorVersion:
description: 'Minor version number'
required: true

jobs:
release-debian-package:
Expand All @@ -27,10 +35,13 @@ jobs:
- name: Package application
run: |
cpack -G DEB
- name: Print files
run: |
ls -l build
- name: Upload release
uses: actions/upload-artifact@v4
with:
name: *.deb
name: MarkIt-${{ github.event.inputs.majorVersion }}.${{ github.event.inputs.minorVersion }}-linux64.deb
path: build

release-windows-package:
Expand Down Expand Up @@ -60,9 +71,10 @@ jobs:
- name: Upload release
uses: actions/upload-artifact@v4
with:
name: *.exe
name: MarkIt-${{ github.event.inputs.majorVersion }}.${{ github.event.inputs.minorVersion }}-win64.exe
path: build
release-macos-package:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -76,8 +88,11 @@ jobs:
- name: Package application
run: |
cpack
- name: Print files
run: |
ls -l build
- name: Upload release
uses: actions/upload-artifact@v4
with:
name: *.dmg
name: MarkIt-${{ github.event.inputs.majorVersion }}.${{ github.event.inputs.minorVersion }}-macos-arm64.dmg
path: build

0 comments on commit 7351865

Please sign in to comment.