Skip to content

Add some docs

Add some docs #1

Workflow file for this run

name: Release build
on:
release:
types: [created]
workflow_dispatch:
jobs:
publish-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 17
- id: install-secret-key
name: Install gpg secret key
run: |
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG
- name: Install libcurl
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
- name: Publish package
run: gradle publish codegen: -Psigning.gnupg.passphrase='${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}'

Check failure on line 25 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yaml

Invalid workflow file

You have an error in your yaml syntax on line 25
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
./build/classes/kotlin/linuxX64/main/cinterop/sdbus-kotlin-cinterop-sdbus-x86_64-256.2-1.klib
./build/classes/kotlin/linuxX64/main/klib/sdbus-kotlin.klib
./codegen/build/libs/codegen-all-0.1.0.jar