Skip to content

Add changelog for 1.0.0 #44

Add changelog for 1.0.0

Add changelog for 1.0.0 #44

Workflow file for this run

name: Dispatch release

Check failure on line 1 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

you may only define one of `tags` and `tags-ignore` for a single event
on:
push:
tags:
- '[1-9]+.[0-9]+.[0-9]+'
tags-ignore:
- '**-xcodebuild-**'
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/checkout@v4.1.6
with:
ref: main
fetch-depth: 0
- run: exit $(git merge-base --is-ancestor $GITHUB_REF_NAME HEAD)
build-xcframework-and-create-tag:
runs-on: macos-14-xlarge
needs: [ ensure-tag-is-on-main ]
permissions:
contents: write
strategy:
fail-fast: false
matrix:
xcodeversion: [ 14.3.1, 15.0.1, 15.1, 15.2, 15.3 ]
steps:
- uses: actions/checkout@v4.1.6
- uses: maxim-lobanov/setup-xcode@v1.6.0
with:
xcode-version: ${{ inputs.xcodeversion }}
- uses: ./.github/actions/runGradleTask
with:
preTaskString: -Pversion=$VERSION
task: :library:assembleTidalNetworkTimeReleaseXCFramework
- run: |
git config --local user.name $GITHUB_ACTOR
git config --local user.email noreply@github.com
git add -f library/build/XCFrameworks/release/TidalNetworkTime.xcframework
git commit -m "XCFramework update for version $VERSION-xcodebuild-${{ matrix.xcodeversion }}"
git tag $VERSION-xcodebuild-${{ matrix.xcodeversion }} -m $VERSION-xcodebuild-${{ matrix.xcodeversion }}
git push origin tag $VERSION-xcodebuild-${{ matrix.xcodeversion }}
- run: echo "version=$VERSION" >> $GITHUB_OUTPUT
create-github-release:
runs-on: ubuntu-22.04
needs: [ build-xcframework-and-create-tag ]
permissions:
packages: write
steps:
- uses: actions/checkout@v4.1.6
with:
ref: ${{ needs.build-xcframework-and-create-tag.outputs.version }}
- run: .scripts/github/release.sh
publish-jvm-maven-publication:
runs-on: macos-14-xlarge
needs: [ build-xcframework-and-create-ta ]
steps:
- uses: actions/checkout@v4.1.6
with:
ref: ${{ needs.build-xcframework-and-create-tag.outputs.version }}
- uses: ./.github/actions/runGradleTask
with:
preTaskString: -Pversion=${{ needs.build-xcframework-and-create-tag.outputs.version }}
task: :library:publishJvmPublicationToGithubPackagesRepository