1
0

Mock mobile (#1)

* Added MockMobile tool
This commit is contained in:
2022-04-22 01:35:20 +03:00
committed by GitHub
parent b942aab638
commit 0ef434573b
5 changed files with 702 additions and 2 deletions
+35
View File
@@ -0,0 +1,35 @@
name: MockMobile
on:
push:
branches: [ master ]
paths:
- "MockMobile/*"
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Publish
run: dotnet publish -p:PublishSingleFile=true -r win-x64 -c Debug --self-contained true
- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
artifacts: "${GITHUB_REPOSITORY}/bin/Debug/net6.0/win-x64/publish/MockMobile.exe,${GITHUB_REPOSITORY}/bin/Debug/net6.0/win-x64/publish/MockMobile.pdb"
token: ${{ secrets.GH_TOKEN }}