Skip to content

Instantly share code, notes, and snippets.

@shark8me
Last active September 15, 2021 13:57
Show Gist options
  • Select an option

  • Save shark8me/630bc72447c374bc40f9fb3de5b1485d to your computer and use it in GitHub Desktop.

Select an option

Save shark8me/630bc72447c374bc40f9fb3de5b1485d to your computer and use it in GitHub Desktop.
Deploy Clojure jars to Github packages
name: Publish package to GitHub Packages
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Install clojure tools
uses: DeLaGuardo/[email protected]
with:
lein: 'latest'
- name: Publish package
run: lein deploy github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment