Skip to content

Commit

Permalink
Publish packages via GitHub Actions #14
Browse files Browse the repository at this point in the history
* Fix build error
  • Loading branch information
sallyluenoa committed Jul 11, 2021
1 parent 6a92d44 commit 97365c1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sandbox_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ jobs:
- name: Test
run: |
echo ${{ steps.get_version.outputs.VERSION1 }
echo ${{ steps.get_version.outputs.VERSION2 }
echo ${{ steps.get_version.outputs.VERSION1 }}
echo ${{ steps.get_version.outputs.VERSION2 }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package org.fog_rock.frextensions.ktx.operator

fun and(vararg values: Boolean?): Boolean {
var ret = false
values.forEach {
if (it != null) ret = ret.and(it)
}
return ret
}

fun or(vararg values: Boolean?): Boolean {
var ret = false
values.forEach {
if (it != null) ret = ret.or(it)
}
return ret
}

fun xor(vararg values: Boolean?): Boolean {
var ret = false
values.forEach {
if (it != null) ret = ret.xor(it)
}
return ret
}

0 comments on commit 97365c1

Please sign in to comment.