Skip to content

Commit

Permalink
Create release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ex0ns committed Nov 22, 2021
1 parent 3b1a628 commit 28bc132
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish Release

on: workflow_dispatch

jobs:
compile-all:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: jodersky/[email protected]
with:
mill-version: 0.9.10
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v3
with:
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Publish
shell: bash
env:
USERNAME: ${{ secrets.OSS_USERNAME }}
PASSWORD: ${{ secrets.OSS_PASSWORD }}
run: |
mill mill.scalalib.PublishModule/publishAll __.publishArtifacts --sonatypeCreds "$USERNAME:$PASSWORD"

0 comments on commit 28bc132

Please sign in to comment.