Skip to content

Commit

Permalink
Try auto deploy on win/linux as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
akenmorris committed May 29, 2020
1 parent f1daa57 commit 0ff06b6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build-linux.yml
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- auto_deploy
tags:
- '*'
pull_request:
Expand Down Expand Up @@ -120,3 +121,14 @@ jobs:
name: artifact-${{github.sha}}-linux
path: ${{runner.workspace}}/ShapeWorks/artifacts

- name: Deploy
id: deploy
if: github.ref == 'refs/heads/auto_deploy'
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest-linux"
prerelease: true
title: "Development Build"
files: |
${{runner.workspace}}/ShapeWorks/artifacts/*.zip
14 changes: 14 additions & 0 deletions .github/workflows/build-windows.yml
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- auto_deploy
tags:
- '*'
pull_request:
Expand Down Expand Up @@ -116,3 +117,16 @@ jobs:
with:
name: artifact-${{github.sha}}-windows
path: ${{runner.workspace}}\ShapeWorks\artifacts

- name: Deploy
id: deploy
if: github.ref == 'refs/heads/auto_deploy'
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest-windows"
prerelease: true
title: "Development Build"
files: |
${{runner.workspace}}/ShapeWorks/artifacts/*.zip

0 comments on commit 0ff06b6

Please sign in to comment.