Skip to content

Commit 3e1f685

Browse files
committed
Switching to Taskfile
Moving to go1.24.1 with full dependencies update.
1 parent 2b0b9e8 commit 3e1f685

File tree

413 files changed

+46615
-21478
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

413 files changed

+46615
-21478
lines changed

.github/workflows/release.yml

+42-47
Original file line numberDiff line numberDiff line change
@@ -14,50 +14,45 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616

17-
- uses: actions/checkout@v3
18-
- uses: awalsh128/cache-apt-pkgs-action@latest
19-
with:
20-
packages: binutils-mingw-w64-x86-64
21-
version: 1.0
22-
23-
- name: Ubuntu version
24-
run: lsb_release -a
25-
26-
- name: Get latest CMake and Ninja
27-
uses: lukka/get-cmake@latest
28-
with:
29-
cmakeVersion: latest
30-
ninjaVersion: latest
31-
32-
- name: Set up Go
33-
uses: actions/setup-go@v3
34-
with:
35-
go-version: '1.20'
36-
37-
- name: Build - win64
38-
env:
39-
MSYSTEM_NAME: win64
40-
run: |
41-
cmake -G Ninja -B build_win64
42-
cmake --build build_win64 --target release
43-
44-
- name: Sign release artifacts
45-
# After lunar this could be replaced with "apt install minisign"
46-
uses: thomasdesr/minisign-action@v1
47-
with:
48-
args: -Sm wsl-ssh-agent.zip
49-
minisign_key: ${{ secrets.minisign_key }}
50-
password: ${{ secrets.minisign_password }}
51-
52-
- name: List results
53-
run: ls -lah wsl-ssh-*
54-
55-
- name: Upload release
56-
uses: softprops/action-gh-release@v1
57-
if: startsWith(github.ref, 'refs/tags/')
58-
with:
59-
generate_release_notes: true
60-
files: |
61-
wsl-ssh-agent.json
62-
wsl-ssh-agent.zip
63-
wsl-ssh-agent.zip.minisig
17+
- name: Checkout sources
18+
uses: actions/checkout@v4
19+
20+
- name: Install mingw-w64 resource compiler
21+
uses: awalsh128/cache-apt-pkgs-action@latest
22+
with:
23+
packages: mingw-w64 binutils-mingw-w64-x86-64
24+
version: 1.0
25+
26+
- name: Install Task
27+
uses: arduino/setup-task@v2
28+
with:
29+
version: 3.x
30+
31+
- name: Set up Go
32+
uses: actions/setup-go@v5
33+
with:
34+
go-version: '1.24.1'
35+
36+
- name: Build everything
37+
run: task release -v
38+
39+
- name: Sign release artifacts
40+
# After lunar this could be replaced with "apt install minisign"
41+
uses: thomasdesr/minisign-action@v1
42+
with:
43+
args: -Sm release/wsl-ssh-agent.zip
44+
minisign_key: ${{ secrets.minisign_key }}
45+
password: ${{ secrets.minisign_password }}
46+
47+
- name: List results
48+
run: ls -lah release/
49+
50+
- name: Upload release
51+
uses: softprops/action-gh-release@v2
52+
if: startsWith(github.ref, 'refs/tags/')
53+
with:
54+
generate_release_notes: true
55+
files: |
56+
wsl-ssh-agent.json
57+
release/wsl-ssh-agent.zip
58+
release/wsl-ssh-agent.minisig

CMakeLists.txt

-207
This file was deleted.

0 commit comments

Comments
 (0)