Procházet zdrojové kódy

use new github "inputs" context, where booleans are supposed to actually be booleans

see https://github.com/actions/runner/issues/1483
see https://docs.github.com/en/actions/learn-github-actions/contexts#inputs-context

[ci skip]
Sebastian Stenzel před 2 roky
rodič
revize
15781b685d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      .github/workflows/debian.yml

+ 1 - 1
.github/workflows/debian.yml

@@ -111,7 +111,7 @@ jobs:
             cryptomator_*_amd64.deb
             cryptomator_*.asc
       - name: Publish on PPA
-        if: startsWith(github.ref, 'refs/tags/') || github.event.inputs.dput == 'true'
+        if: startsWith(github.ref, 'refs/tags/') || inputs.dput
         run: dput ppa:sebastian-stenzel/cryptomator-beta cryptomator_*_source.changes
       - name: Publish Debian package on GitHub Releases
         if: startsWith(github.ref, 'refs/tags/')