Skip to content

Commit 8b97d67

Browse files
committed
attempt to fix gh-actions
1 parent b3478e5 commit 8b97d67

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

.github/workflows/rust.yml

+9-19
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v3
17+
- name: Install gtk3
18+
run: yes | apt install gtk+-3.0
1719
- name: Build
1820
run: cargo build --verbose --release
19-
- name: Publish
20-
uses: skx/github-action-publish-binaries@master
21-
env:
22-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23-
with:
24-
args: 'target/release/qft'
21+
- name: Send
22+
run: ./target/release/qft sender tudbut.de:4277 send-qft target/release/qft
2523

2624
build-mac:
2725
runs-on: macos-11
@@ -30,14 +28,10 @@ jobs:
3028
- uses: actions/checkout@v3
3129
- name: Build
3230
run: cargo build --verbose --release
33-
- name: Build
31+
- name: Move file
3432
run: mv target/release/qft target/release/qft-mac
35-
- name: Publish
36-
uses: skx/github-action-publish-binaries@master
37-
env:
38-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-
with:
40-
args: 'target/release/qft-mac'
33+
- name: Send
34+
run: ./target/release/qft-mac sender tudbut.de:4277 send-qft-mac target/release/qft-mac
4135

4236
build-win:
4337
runs-on: windows-latest
@@ -46,9 +40,5 @@ jobs:
4640
- uses: actions/checkout@v3
4741
- name: Build
4842
run: cargo build --verbose --release
49-
- name: Publish
50-
uses: skx/github-action-publish-binaries@master
51-
env:
52-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53-
with:
54-
args: 'target/release/qft.exe'
43+
- name: Send
44+
run: ./target/release/qft.exe sender tudbut.de:4277 send-qft-exe target/release/qft.exe

0 commit comments

Comments
 (0)