Skip to content

Commit

Permalink
Do not create releases when creating Debian packages and get rid of w…
Browse files Browse the repository at this point in the history
…arnings (#122)
  • Loading branch information
krihal authored Oct 8, 2024
1 parent 2b25294 commit 1270bfe
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ jobs:
steps:
- name: Get build number and reset it
id: get-build
uses: mlilback/build-number@v1
uses: citypaul/build-number@1.0.3
with:
base: 0 # Update this number to reset counter
run-id: ${{ github.run_number }}

create_deb_packet:
needs: reset-run-number
if: github.ref == 'refs/heads/master'
# if: github.ref == 'refs/heads/master'
runs-on: ubuntu-20.04
env:
VERSION: "7.1.0"
Expand Down Expand Up @@ -104,16 +104,6 @@ jobs:
run: cd ${{ github.workspace }}/build && dpkg-buildpackage -us -uc
- name: show directory
run: ls -l ${{ github.workspace }}
- name: Create deb packet
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{env.VERSION}}_${{env.RUN_NUMBER}}
release_name: cligen_${{env.VERSION}}-${{env.RUN_NUMBER}}
draft: false
prerelease: false
- name: Upload artefact
uses: actions/upload-artifact@v4
with:
Expand All @@ -123,4 +113,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: libcligen_${{env.VERSION}}-${{env.RUN_NUMBER}}_amd64.deb
path: ${{ github.workspace }}/libcligen_${{env.VERSION}}-${{env.RUN_NUMBER}}_amd64.deb
path: ${{ github.workspace }}/libcligen_${{env.VERSION}}-${{env.RUN_NUMBER}}_amd64.deb

0 comments on commit 1270bfe

Please sign in to comment.