1+ name : NetDeck Release
2+
3+ permissions :
4+ contents : write
5+
6+ on :
7+ workflow_dispatch :
8+ push :
9+ tags :
10+ - " v*.*.*"
11+
12+ jobs :
13+ build_plugin :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@v4
18+
19+ - name : Setup latest Node.js
20+ uses : actions/setup-node@v4
21+ with :
22+ node-version : latest
23+
24+ - name : Setup PNPM@10
25+ uses : pnpm/action-setup@v4
26+ with :
27+ version : " 10.11.0"
28+
29+ - name : Sync version from VERSION file
30+ run : |
31+ if [ -f "VERSION" ]; then
32+ chmod +x update-version.sh
33+ ./update-version.sh
34+ echo "Version synchronized from VERSION file"
35+ else
36+ echo "VERSION file not found, using existing versions"
37+ fi
38+
39+ - name : Build NetDeck frontend from source
40+ run : |
41+ pnpm install --frozen-lockfile
42+ pnpm run build
43+ continue-on-error : true
44+
45+ - name : Download Decky Plugin CLI
46+ run : |
47+ mkdir $(pwd)/cli
48+ curl -L -o $(pwd)/cli/decky "https://github.com/SteamDeckHomebrew/cli/releases/latest/download/decky-linux-x86_64"
49+ chmod +x $(pwd)/cli/decky
50+
51+ - name : Build NetDeck plugin
52+ run : |
53+ $(pwd)/cli/decky plugin build $(pwd)
54+
55+ - name : Show NetDeck build files
56+ run : |
57+ ls out/NetDeck.zip
58+ 7z l out/NetDeck.zip
59+
60+ - name : Publish NetDeck Artifact
61+ uses : actions/upload-artifact@v4
62+ with :
63+ name : NetDeck
64+ path : out/NetDeck.zip
65+
66+ publish :
67+ if : startsWith(github.ref, 'refs/tags/v')
68+ runs-on : ubuntu-latest
69+ needs : build_plugin
70+ steps :
71+ - name : Checkout repository
72+ uses : actions/checkout@v4
73+
74+ - run : mkdir /tmp/artifacts
75+
76+ - name : Download NetDeck artifact
77+ uses : actions/download-artifact@v4
78+ with :
79+ path : /tmp/artifacts
80+
81+ - run : ls -R /tmp/artifacts
82+
83+ - name : Get version from tag
84+ id : get_version
85+ run : |
86+ VERSION=${GITHUB_REF#refs/tags/v}
87+ echo "version=$VERSION" >> $GITHUB_OUTPUT
88+ echo "Version: $VERSION"
89+
90+ - name : Publish NetDeck to GitHub release
91+ uses : softprops/action-gh-release@v2
92+ with :
93+ files : |
94+ /tmp/artifacts/NetDeck/NetDeck.zip
95+ tag_name : ${{ github.ref_name }}
96+ name : " NetDeck v${{ steps.get_version.outputs.version }}"
97+ body : |
98+ # NetDeck v${{ steps.get_version.outputs.version }}
99+
100+ Advanced networking plugin for Steam Deck and handheld PCs.
101+
102+ ## Features
103+ - MAC address spoofing for bypassing network restrictions
104+ - WiFi hotspot creation with dual-adapter support
105+ - Internet sharing through NAT bridging
106+ - Hidden SSID support for privacy
107+ - Secure credential generation with anonymous SSIDs
108+ - Connected client monitoring and management
109+
110+ ## Installation
111+ 1. Download `NetDeck.zip` below
112+ 2. Extract to your Decky plugins directory: `/home/deck/homebrew/plugins/NetDeck/`
113+ 3. Restart Decky Loader
114+
115+ ## Compatible Devices
116+ - Most devices running SteamOS
117+
118+ ## Requirements
119+ - Two WiFi adapters (built-in + USB adapter recommended)
120+ - NetworkManager for connection management
121+ - Root permissions for network configuration
122+
123+ draft : false
124+ generate_release_notes : false
125+ prerelease : contains(github.ref, 'pre')
126+ env :
127+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments