mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-13 12:34:37 +01:00
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
# 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: .NET
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v3
|
|
with:
|
|
dotnet-version: 6.0.x
|
|
- name: Download & Extract
|
|
# You may pin to the exact commit or the version.
|
|
# uses: gamedev-thingy/Download-Extract@20063b5f6b2b847425c9e3ff02830b19bcb66d70
|
|
uses: gamedev-thingy/Download-Extract@done
|
|
with:
|
|
# The URL to download from
|
|
url: ***REMOVED***
|
|
# Where the files will be extracted to
|
|
destination: ./Common/
|
|
# Name of the downloaded ZIP file
|
|
ZIPname: Resources
|
|
- name: Restore dependencies
|
|
run: dotnet restore
|
|
- name: Build
|
|
run: dotnet build --no-restore
|
|
- name: Test
|
|
run: dotnet test --no-build --verbosity normal
|