Skip to content

Commit d452cef

Browse files
committed
Ready to produce first release
1 parent ce38165 commit d452cef

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ jobs:
77
steps:
88
- name: Checkout
99
uses: actions/checkout@v2
10+
- name: Set variables
11+
run: echo "VERSION=$(date +%Y%m%d-%H%M)" >> $GITHUB_ENV
1012
- name: Fix permission
1113
run: sudo chown -R root:root ./dpkg
1214
- name: Build dpkg
1315
run: dpkg-deb --build ./dpkg
14-
- name: Upload dpkg
15-
uses: actions/upload-artifact@v2
16+
- name: Release
17+
uses: ncipollo/release-action@v1
1618
with:
17-
name: dpkg
18-
path: ./dpkg.deb
19+
artifacts: './dpkg.deb'
20+
token: ${{ secrets.GITHUB_TOKEN }}
21+
tag: ${{ env.VERSION }}
22+
bodyFile: './README.md'
23+
commit: main

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
11
# radxa-usbnet
22
Enable USB ethernet gadget on selected Radxa single board computers.
3+
4+
# Install
5+
Install with `sudo apt install radxa-usbnet`. ALternatively download the [latest release](https://github.com/RadxaYuntian/radxa-usbnet/releases/latest) and install with `sudo apt install ./dpkg.deb`.
6+
7+
# Usage
8+
This service conflicts with `amlogic-adbd`. As such please run the following command to enable it:
9+
```
10+
sudo systemctl disable amlogic-adbd
11+
sudo systemctl enable radxa-usbnet
12+
sudo reboot # need to reboot to free the USB resource
13+
```

0 commit comments

Comments
 (0)