Skip to content

Commit

Permalink
Fix CI package permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocarnelos committed May 14, 2024
1 parent e2d9359 commit 311bfb7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- run: cargo install cross --git https://github.com/cross-rs/cross
- run: cargo install cargo-make
- run: sudo cargo make package
- run: cargo make package
- uses: actions/upload-artifact@v4
with:
name: SailTrack-Core_RPi-ARMv8-Bookworm.7z
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- run: cargo install cross --git https://github.com/cross-rs/cross
- run: cargo install cargo-make
- run: sudo cargo make package
- run: cargo make package
- uses: softprops/action-gh-release@v2
with:
files: SailTrack-Core_RPi-ARMv8-Bookworm.7z
Expand Down
3 changes: 2 additions & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ condition = { platforms = [ "linux" ] }
dependencies = [
"default"
]
script = { file = ".make/sailtrack-package" }
command = "sudo"
args = ["./.make/sailtrack-package"]

0 comments on commit 311bfb7

Please sign in to comment.