aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-01-03 14:03:05 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-01-03 14:03:05 -0600
commit800f32cf4fd19a3ffee66cbf3d90f1a72ee1f351 (patch)
tree59ad9aa0110dab3b4c0f13f5a48311b7df651bb8
parent4c982fda3cb120f72ce23f583e0b2b332b73f86e (diff)
parent44f24e474b6ec22adff60e17e5dff8fd119d31da (diff)
downloadslskd-800f32cf4fd19a3ffee66cbf3d90f1a72ee1f351.tar.gz
Merge branch 'master' of https://github.com/slskd/slskd
-rw-r--r--.github/workflows/publish.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
new file mode 100644
index 00000000..6b5e0939
--- /dev/null
+++ b/.github/workflows/publish.yml
@@ -0,0 +1,35 @@
+# This is a basic workflow to help you get started with Actions
+
+name: Publish
+
+# Controls when the action will run.
+on:
+ # Triggers the workflow on push or pull request events but only for the master branch
+ push:
+ branches: [ master ]
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
+jobs:
+ # This workflow contains a single job called "build"
+ win-x64:
+ # The type of runner that the job will run on
+ runs-on: ubuntu-latest
+
+ # Steps represent a sequence of tasks that will be executed as part of the job
+ steps:
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
+ - uses: actions/checkout@v2
+
+ # Runs a single command using the runners shell
+ - name: Publish win-x64
+ run: bin/publish --runtime win-x64
+
+ - name: Upload a Build Artifact
+ uses: actions/upload-artifact@v2
+ with:
+ name: win-x64
+ path: dist/win-x64
+