diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-11-04 12:31:58 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-11-04 12:31:58 +0300 |
commit | ab6628cd1c21beb109a403a5c46075ea419312da (patch) | |
tree | 2c34fafd0f008d719feb6061789ddbb573db0fd5 | |
parent | eb73a679501f985009affe7ac7407bd9fd9c0987 (diff) |
build.yml
-rw-r--r-- | .github/workflows/build.yml | 34 | ||||
-rw-r--r-- | .github/workflows/docs.yml | 3 |
2 files changed, 35 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..1a543d6 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,34 @@ +name: Build and pack + +on: + # Runs on pushes targeting the default branch + push: + branches: ["master"] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + # Single deploy job since we're just deploying + build: + environment: + APP_NAME: nes-containers + PROJECT_PATH: ./nes-containers + OUTPUT_DIR: output + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 6.0.x + - name: Build + run: dotnet pack ${{ env.OUTPUT_DIR }} + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: ${{ env.APP_NAME }} + path: ${{ env.OUTPUT_DIR }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a4422ef..65aa168 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,5 +1,4 @@ -# Simple workflow for deploying static content to GitHub Pages -name: Deploy static content to Pages +name: Deploy documentation on: # Runs on pushes targeting the default branch |