Skip to content

Commit

Permalink
tweak push deploy logic
Browse files Browse the repository at this point in the history
  • Loading branch information
LongLiveCHIEF committed Dec 6, 2020
1 parent 84adb82 commit 042a236
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/octoprint-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,23 @@ jobs:
-
uses: actions/checkout@v2
# outputs: release
- name: Get latest Octoprint
-
name: Get Stable Octoprint
id: stable-octoprint
uses: pozetroninc/github-action-get-latest-release@master
with:
owner: OctoPrint
repo: OctoPrint
excludes: prerelease,draft

-
name: Get latest Octoprint
id: latest-octoprint
uses: pozetroninc/github-action-get-latest-release@master
with:
owner: OctoPrint
repo: OctoPrint
excludes: draft
-
name: Set up QEMU
id: qemu
Expand Down Expand Up @@ -199,5 +209,5 @@ jobs:
linux/arm/v7
linux/arm64
build-args: |
octoprint_ref=${{ steps.latest-octoprint.outputs.release }}
octoprint_ref=${{ steps.stable-octoprint.outputs.release }}
labels: ${{ needs.meta.outputs.labels }}

0 comments on commit 042a236

Please sign in to comment.