Skip to content

Commit

Permalink
Create BUILD_Downloader.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SlejmUr authored Dec 4, 2024
1 parent b046efc commit 1493018
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/BUILD_Downloader.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Uplay Apps Build Downloader

on:
push:
paths-ignore:
- '.github/*'
- '.github/*_TEMPLATE/**'
- '*.md'
pull_request:
paths-ignore:
- '.github/*'
- '.github/*_TEMPLATE/**'
- '*.md'
workflow_dispatch:
# allows manual trigger

jobs:
build:
name: NET on ${{ matrix.runs-on }} (${{ matrix.configuration }})
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
runs-on: [windows-latest]
configuration: [Release]
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore Downloader/Downloader.csproj

- name: Publish
run: dotnet publish Downloader/Downloader.csproj -c ${{ matrix.configuration }} --property:PublishDir=../Output

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: Downloader
path: Output
if-no-files-found: error

0 comments on commit 1493018

Please sign in to comment.