Skip to content

Commit

Permalink
debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
hituzi-no-sippo committed Sep 23, 2024
1 parent e4d329b commit 2f0586d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- "v*"

env:
DEBIAN_PACKAGE_PATH: tera-cli_linux_amd64.deb

jobs:
linux:
env:
Expand All @@ -28,13 +31,13 @@ jobs:
- name: Build debian package
shell: bash
run: |
cargo deb -p teracli -o "tera-cli_linux_amd64.deb"
cargo deb -p teracli -o "$DEBIAN_PACKAGE_PATH"
- name: Upload Linux artifacts
uses: actions/upload-artifact@v4
with:
name: linux
path: "tera-cli_linux_amd64.deb"
path: ${{ env.DEBIAN_PACKAGE_PATH }}

create_draft:
needs: ["linux"]
Expand Down Expand Up @@ -168,11 +171,11 @@ jobs:
uses: actions/download-artifact@v4
with:
name: linux
path: "tera-cli_linux_amd64.deb"
path: ${{ env.DEBIAN_PACKAGE_PATH }}

- naem: Install tera-cli
run: |
dpkg -i tera-cli_linux_amd64.deb
dpkg -i "$DEBIAN_PACKAGE_PATH"
- name: Output Release Version for Formula templates
id: output-release-version
Expand Down

0 comments on commit 2f0586d

Please sign in to comment.