<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged actions</title>
<link>https://ask.clojure.org/index.php/tag/actions</link>
<description></description>
<item>
<title>No credentials found: deploying Clojars using a Github Workflow (Actions).</title>
<link>https://ask.clojure.org/index.php/9049/credentials-found-deploying-clojars-github-workflow-actions</link>
<description>&lt;p&gt;For some reason that I can't find, it's impossible for me to deploy Clojars using Github Actions. This is my script where I perform the action.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  - name: Deploy clojars
      run: |
        mkdir ~/.lein
        echo '{:user {} :auth {:repository-auth{#&quot;clojars&quot; {:username &quot;${{ secrets.CLOJARS_USERNAME }}&quot; :password &quot;${{ secrets.CLOJARS_PASSWORD }}&quot; :sign-releases false }}}}' &amp;gt; ~/.lein/profiles.clj
        lein deploy clojars
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;He's always telling me he can't find the credentials.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;No credentials found for clojars
    See `lein help deploying` for how to configure credentials to avoid prompts.
    Username: LEIN IS UNABLE TO TURN OFF ECHOING, SO THE PASSWORD IS PRINTED TO THE CONSOLE
    Password: Created /home/runner/work/tadam-core/tadam-core/target/tadam-core-0.3.0.jar
    Wrote /home/runner/work/tadam-core/tadam-core/pom.xml
    Need to sign 2 files with GPG
    [1/2] Signing /home/runner/work/tadam-core/tadam-core/target/tadam-core-0.3.0.jar with GPG
    gpg: directory '/home/runner/.gnupg' created
    gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
    gpg: no default secret key: No secret key
    gpg: signing failed: No secret key
    Could not sign /home/runner/work/tadam-core/tadam-core/target/tadam-core-0.3.0.jar
    gpg: directory '/home/runner/.gnupg' created
    gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
    gpg: no default secret key: No secret key
    gpg: signing failed: No secret key
    
    
    See `lein help gpg` for how to set up gpg.
    If you don't expect people to need to verify the authorship of your jar, you
    can add `:sign-releases false` to the relevant `:deploy-repositories` entry.
    ##[error]Process completed with exit code 1.
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Tools</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/9049/credentials-found-deploying-clojars-github-workflow-actions</guid>
<pubDate>Tue, 21 Jan 2020 15:43:33 +0000</pubDate>
</item>
</channel>
</rss>