Skip to content

Commit

Permalink
Store packages as artefacts and not as releases (#119)
Browse files Browse the repository at this point in the history
* Store packages as artefacts and not as releases.
  • Loading branch information
krihal authored Sep 20, 2024
1 parent c038c75 commit 772e01e
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,23 +114,13 @@ jobs:
release_name: cligen_${{env.VERSION}}-${{env.RUN_NUMBER}}
draft: false
prerelease: false
- name: Upload Release Asset (cligen-dev)
id: upload-release-asset-dev
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload artefact
uses: actions/upload-artifact@v4
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/libcligen-dev_${{env.VERSION}}-${{env.RUN_NUMBER}}_amd64.deb
asset_name: libcligen-dev_${{env.VERSION}}-${{env.RUN_NUMBER}}_amd64.deb
asset_content_type: application/vnd.debian.binary-package
- name: Upload Release Asset (cligen)
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: libcligen-dev_${{env.VERSION}}-${{env.RUN_NUMBER}}_amd64.deb
path: ${{ github.workspace }}/libcligen-dev_${{env.VERSION}}-${{env.RUN_NUMBER}}_amd64.deb
- name: Upload artefact (cligen)
uses: actions/upload-artifact@v4
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/libcligen7_${{env.VERSION}}-${{env.RUN_NUMBER}}_amd64.deb
asset_name: libcligen7_${{env.VERSION}}-${{env.RUN_NUMBER}}_amd64.deb
asset_content_type: application/vnd.debian.binary-package
name: libcligen7_${{env.VERSION}}-${{env.RUN_NUMBER}}_amd64.deb
path: ${{ github.workspace }}/libcligen7_${{env.VERSION}}-${{env.RUN_NUMBER}}_amd64.deb

0 comments on commit 772e01e

Please sign in to comment.