summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrainDoctor <traindoctor@protonmail.com>2022-09-04 20:56:38 -0700
committerTrainDoctor <traindoctor@protonmail.com>2022-09-04 20:56:38 -0700
commit18924030446e7ea971d55677ff604df414aa4e1c (patch)
tree8d796278f66a87e06feedd913a5a4cc89cf34ba5
parentf5a18372279156eef0dc1e86f016aaed43c0639d (diff)
downloaddecky-loader-18924030446e7ea971d55677ff604df414aa4e1c.tar.gz
decky-loader-18924030446e7ea971d55677ff604df414aa4e1c.zip
better equivalency checking
-rw-r--r--.github/workflows/build.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 10343575..6c429e37 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -34,6 +34,11 @@ jobs:
runs-on: ubuntu-latest
steps:
+ - name: Print input
+ run : |
+ echo "release: ${{ github.event.inputs.release }}\n"
+ echo "bump: ${{ github.event.inputs.bump }}\n"
+
- name: Checkout 🧰
uses: actions/checkout@v3
@@ -209,7 +214,7 @@ jobs:
export VERSION=${{ steps.latest_release.outputs.release }}
echo "VERS: $VERSION"
OUT="notsemver"
- if [[ "${{github.event.inputs.bump}}" != "none" ]]; then
+ if [[ ! ${{ github.event.inputs.bump }} == "none" ]]; then
printf "bumping by release then by selected\n"
OUT=$(semver bump release "$VERSION")
printf "OUT: ${OUT}\n"