Skip to content

Add changelog for 1.0.0 #32

Add changelog for 1.0.0

Add changelog for 1.0.0 #32

Workflow file for this run

name: Publish
on:
push:
tags:
- '**'
permissions:
contents: write
packages: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
concurrency:
group: ${{ github.ref_name }}
jobs:
ensure-tag-is-on-main:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
with:
ref: main
fetch-depth: 0
- run: exit $(git merge-base --is-ancestor $GITHUB_REF_NAME HEAD)
jvm-maven-github:
runs-on: macos-14-xlarge
needs: [ ensure-tag-is-on-main ]
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/runGradleTask
with:
preTaskString: -Pversion=$GITHUB_REF_NAME
task: library:publishKotlinMultiplatformPublicationToGithubPackagesRepository
create-github-release:
runs-on: ubuntu-22.04
needs: [ ensure-tag-is-on-main ]
steps:
- uses: actions/[email protected]
- run: .scripts/github/release.sh > upload_url
- uses: actions/[email protected]
with:
name: upload_url
path: upload_url
generate-build-matrix:
runs-on: macos-14-xlarge
needs: [ ensure-tag-is-on-main ]
outputs:
xcodeversions: ${{ steps.generate.outputs.xcodeversions }}
steps:
- id: generate
run: |
version_list=()
for XCODE_INSTALL in $(ls /Applications | grep Xcode); do
version_list+=("$(/usr/libexec/PlistBuddy -c "print CFBundleShortVersionString" /Applications/$XCODE_INSTALL/Contents/Info.plist)")
done
unique_version_list=( $(printf "%s\n" ${version_list[@]} | sort -n -u) )
jsonString="$(jq -c --null-input '$ARGS.positional' --args -- "${unique_version_list[@]}")"
echo "xcodeversions=$jsonString" >> $GITHUB_OUTPUT
attach-xcframework-to-github-release:
runs-on: macos-14-xlarge
needs: [ create-github-release, generate-build-matrix ]
strategy:
fail-fast: false
matrix:
xcodeversion: ${{ fromJSON(needs.generate-build-matrix.outputs.xcodeversions) }}
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/attachXcFrameworkAndChecksum
with:
target: ${{ github.ref_name }}
xcodeversion: ${{ matrix.xcodeversion }}