Start NuGet Package Action
This commit is contained in:
parent
a417e1c702
commit
6a88df13d0
1 changed files with 24 additions and 0 deletions
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
|
|
@ -23,3 +23,27 @@ jobs:
|
||||||
run: dotnet build -c Release
|
run: dotnet build -c Release
|
||||||
- name: Test project
|
- name: Test project
|
||||||
run: dotnet test
|
run: dotnet test
|
||||||
|
publish:
|
||||||
|
name: Build Release Package
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
|
steps:
|
||||||
|
- name: Download Repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Get Target Raylib Version
|
||||||
|
id: get-tag
|
||||||
|
uses: QwerMike/xpath-action@v1
|
||||||
|
with:
|
||||||
|
filename: "app.config"
|
||||||
|
expression: "//appSettings/add[@key='raylib-release-tag']/@value"
|
||||||
|
|
||||||
|
- name: Download raylib Release
|
||||||
|
uses: robinraju/release-downloader@v1.2
|
||||||
|
with:
|
||||||
|
repository: "raysan5/raylib"
|
||||||
|
tag: steps.get-tag.outputs.results
|
||||||
|
fileName: "*"
|
||||||
|
- name: output directory
|
||||||
|
run: "ls -la ."
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue