Skip to content

Commit

Permalink
Fix upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
matinlotfali committed Jul 6, 2023
1 parent ac811e6 commit 3053915
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/neon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,16 @@ jobs:
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Package
run: cd ${{github.workspace}}/build && cpack -G DEB
- id: package
name: Package
run: cd ${{github.workspace}}/build && cpack -G DEB && echo "::set-output name=file::$(ls *.deb)"
continue-on-error: true

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: Debian Package
path: ${{github.workspace}}/build/*.deb
path: ${{github.workspace}}/build/${{steps.package.outputs.file}}

# - name: Test
# working-directory: ${{github.workspace}}/build
Expand Down

0 comments on commit 3053915

Please sign in to comment.