Skip to content

Added note for skipped device to make sure android udev rules are ins… #12

Added note for skipped device to make sure android udev rules are ins…

Added note for skipped device to make sure android udev rules are ins… #12

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: ADBForwarder Release
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Publish for linux
run: dotnet publish -r linux-x64 -c Release --self-contained
- name: Publish for windows
run: dotnet publish -r win-x64 -c Release --self-contained
- name: Pack linux build
run: cd ADBForwarder/bin/Release/net8.0/linux-x64/ &&
mv publish adbforwarder &&
zip -r ADBForwarder-linux-x64.zip adbforwarder &&
cd -
- name: Pack windows build
run: cd ADBForwarder/bin/Release/net8.0/win-x64/ &&
mv publish adbforwarder &&
zip -r ADBForwarder-windows-x64.zip adbforwarder &&
cd -
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
files: |
ADBForwarder/bin/Release/net8.0/linux-x64/ADBForwarder-linux-x64.zip
ADBForwarder/bin/Release/net8.0/win-x64/ADBForwarder-windows-x64.zip