Skip to content

Commit 1da3482

Browse files
committed
Updated version of release cd for karma-cli
1 parent 2cef25d commit 1da3482

1 file changed

Lines changed: 16 additions & 11 deletions

File tree

.github/workflows/release_image.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,28 @@ on:
44
branches: [ main ]
55

66
env:
7-
PKGBUILD: ../../karma_cli/PKGBUILD
8-
DEBIAN_BUILD: ../../karma_cli/debian_build.sh
7+
DEBIAN_BUILD: karma_cli/debian_build.sh
98

109
jobs:
1110
build-and-release:
12-
runs-on: ubuntu-24
11+
runs-on: ubuntu-latest
1312
steps:
1413
- name: Checkout Repository
1514
- uses: actions/checkout@v6
1615

17-
- name: Build package
18-
id: makepkg
19-
run: DEBIAN_BUILD
16+
- name: Install build deps
17+
run: |
18+
sudo apt-get update
19+
sudo apt-get install -y git dpkg-dev fakeroot
2020
21-
- name: Release package
22-
uses: softprops/action-gh-release@v2
23-
with:
24-
files:
25-
karma-cli_*.deb
21+
- name: Show produced files
22+
run: ls -la
2623

24+
- name: Create GitHub Release and upload artifact
25+
uses: softprops/action-gh-release@v2
26+
with:
27+
files: |
28+
./karma-cli_*.deb
29+
tag_name: release-${{ github.run_number }}
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)