aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml15
1 files changed, 7 insertions, 8 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5c3e6f9..2c07d9b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -37,9 +37,9 @@ jobs:
37 run: | 37 run: |
38 sudo apt-get update \ 38 sudo apt-get update \
39 && sudo apt-get install -y \ 39 && sudo apt-get install -y \
40 libdbus-1-dev 40 libdbus-1-dev libncurses5-dev libncursesw5-dev
41 - name: Build 41 - name: Build
42 run: cargo build -all --no-default-features --features unix --release && strip target/release/dijo 42 run: cargo build --release && strip target/release/dijo
43 43
44 - name: Upload binaries to release 44 - name: Upload binaries to release
45 uses: svenstaro/upload-release-action@v1-release 45 uses: svenstaro/upload-release-action@v1-release
@@ -72,7 +72,7 @@ jobs:
72 override: true 72 override: true
73 73
74 - name: Build for mac 74 - name: Build for mac
75 run: cargo build --all --no-default-features --features unix --release && strip target/release/dijo 75 run: cargo build --release && strip target/release/dijo
76 76
77 - name: Upload binaries to release 77 - name: Upload binaries to release
78 uses: svenstaro/upload-release-action@v1-release 78 uses: svenstaro/upload-release-action@v1-release
@@ -105,15 +105,14 @@ jobs:
105 override: true 105 override: true
106 106
107 - name: Build for windows 107 - name: Build for windows
108 run: | 108 shell: bash
109 cargo build --all --no-default-features --features windows --release 109 run: cargo build --release
110 strip target/release/dijo
111 110
112 - name: Upload binaries to release 111 - name: Upload binaries to release
113 uses: svenstaro/upload-release-action@v1-release 112 uses: svenstaro/upload-release-action@v1-release
114 with: 113 with:
115 repo_token: ${{ secrets.GITHUB_TOKEN }} 114 repo_token: ${{ secrets.GITHUB_TOKEN }}
116 file: target/release/dijo 115 file: target/release/dijo.exe
117 asset_name: dijo-x86_64-windows 116 asset_name: dijo-x86_64-windows.exe
118 tag: ${{ github.ref }} 117 tag: ${{ github.ref }}
119 overwrite: true 118 overwrite: true