Skip to content

Commit

Permalink
Fix: forgot sudo binary and specify artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
LeChatP committed Sep 10, 2024
1 parent 80dd903 commit d8e0082
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Rust
- name: Set up Rust x86_64
uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand All @@ -30,9 +30,14 @@ jobs:
run: cargo xtask dependencies -dip sudo

- name: Build deb and rpm packages
run: cargo xtask deploy debian redhat
run: cargo xtask deploy -p sudo debian redhat

- name: Publish to GitHub Packages
run: cargo publish --manifest-path xtask/Cargo.toml --token ${{ secrets.GITHUB_TOKEN }}
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: RootAsRole
path: |
target/debian/*.deb
target/generate-rpm/*.rpm
if: startsWith(github.ref, 'refs/tags/')

0 comments on commit d8e0082

Please sign in to comment.