Skip to content

Commit

Permalink
feat(linx-support): build for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbcn committed Feb 24, 2022
1 parent bdd89cd commit 717c1bb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,19 @@ jobs:
- run: sudo apt-get install gcc-mingw-w64
- name: Build
run: cargo build --target x86_64-pc-windows-gnu --release --verbose
- name: Build
run: cargo build --release --verbose
- name: Hash
run: sha512sum tl.exe | cut -d " " -f 1 > checksum
working-directory: /home/runner/work/tasklist/tasklist/target/x86_64-pc-windows-gnu/release/
- name: Hash
run: sha512sum tl | cut -d " " -f 1 > checksum
working-directory: /home/runner/work/tasklist/tasklist/target/release/
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
id: semantic
with:
branch: main
working_directory: /home/runner/work/tasklist/tasklist/target/x86_64-pc-windows-gnu/release/
working_directory: /home/runner/work/tasklist/tasklist/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11 changes: 9 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
{
"branches": ["main"],
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/github",
{
"assets": ["tl.exe", "checksum"]
"assets": [
"target/x86_64-pc-windows-gnu/release/tl.exe",
"target/x86_64-pc-windows-gnu/release/checksum",
"target/release/tl",
"target/release/tl.checksum"
]
}
]
]
Expand Down

0 comments on commit 717c1bb

Please sign in to comment.