From 6a88df13d0a25adebba88d580e54cb443f036de7 Mon Sep 17 00:00:00 2001 From: Ben Parsons <9parsonsb@gmail.com> Date: Fri, 1 Oct 2021 20:58:38 +1000 Subject: [PATCH] Start NuGet Package Action --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1fb164..90626e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,3 +23,27 @@ jobs: run: dotnet build -c Release - name: Test project 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 ." +