Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/nes-containers.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-11-04 12:31:58 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-11-04 12:31:58 +0300
commitab6628cd1c21beb109a403a5c46075ea419312da (patch)
tree2c34fafd0f008d719feb6061789ddbb573db0fd5
parenteb73a679501f985009affe7ac7407bd9fd9c0987 (diff)
build.yml
-rw-r--r--.github/workflows/build.yml34
-rw-r--r--.github/workflows/docs.yml3
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