Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyayurin committed Sep 19, 2024
0 parents commit 02d2b23
Show file tree
Hide file tree
Showing 22 changed files with 2,645 additions and 0 deletions.
239 changes: 239 additions & 0 deletions .github/workflows/publish_on_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,239 @@
name: Publish package to GitHub Packages
on:
push:
branches: [ master ]
jobs:
publish-kotlin-multiplatform:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/actions/setup-gradle@v4
- run: chmod +x ./gradlew
- name: Publish kotlinMultiplatform package
run: ./gradlew publishKotlinMultiplatformPublicationToGitHubPackagesRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.sha }}
publish-jvm:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/actions/setup-gradle@v4
- run: chmod +x ./gradlew
- name: Publish jvm package
run: ./gradlew publishJvmPublicationToGitHubPackagesRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.sha }}
publish-android-debug:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/actions/setup-gradle@v4
- run: chmod +x ./gradlew
- name: Publish androidDebug package
run: ./gradlew publishAndroidDebugPublicationToGitHubPackagesRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.sha }}
publish-android-release:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/actions/setup-gradle@v4
- run: chmod +x ./gradlew
- name: Publish androidRelease package
run: ./gradlew publishAndroidReleasePublicationToGitHubPackagesRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.sha }}
publish-js:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/actions/setup-gradle@v4
- run: chmod +x ./gradlew
- name: Publish js package
run: ./gradlew publishJsPublicationToGitHubPackagesRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.sha }}
publish-wasm-js:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/actions/setup-gradle@v4
- run: chmod +x ./gradlew
- name: Publish wasmJs package
run: ./gradlew publishWasmJsPublicationToGitHubPackagesRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.sha }}
publish-ios-x64:
runs-on: macos-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/actions/setup-gradle@v4
- run: chmod +x ./gradlew
- name: Publish iosX64 package
run: ./gradlew publishIosX64PublicationToGitHubPackagesRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.sha }}
publish-ios-arm64:
runs-on: macos-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/actions/setup-gradle@v4
- run: chmod +x ./gradlew
- name: Publish iosArm64 package
run: ./gradlew publishIosArm64PublicationToGitHubPackagesRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.sha }}
publish-ios-simulator-arm64:
runs-on: macos-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/actions/setup-gradle@v4
- run: chmod +x ./gradlew
- name: Publish iosSimulatorArm64 package
run: ./gradlew publishIosSimulatorArm64PublicationToGitHubPackagesRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.sha }}
publish-macos-x64:
runs-on: macos-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/actions/setup-gradle@v4
- run: chmod +x ./gradlew
- name: Publish macosX64 package
run: ./gradlew publishMacosX64PublicationToGitHubPackagesRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.sha }}
publish-macos-arm64:
runs-on: macos-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/actions/setup-gradle@v4
- run: chmod +x ./gradlew
- name: Publish macosArm64 package
run: ./gradlew publishMacosArm64PublicationToGitHubPackagesRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.sha }}
publish-linux-x64:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/actions/setup-gradle@v4
- run: chmod +x ./gradlew
- name: Publish linuxX64 package
run: ./gradlew publishLinuxX64PublicationToGitHubPackagesRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.sha }}
publish-mingw-x64:
runs-on: windows-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/actions/setup-gradle@v4
- run: chmod +x ./gradlew
- name: Publish mingwX64 package
run: ./gradlew publishMingwX64PublicationToGitHubPackagesRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.sha }}
Loading

0 comments on commit 02d2b23

Please sign in to comment.