v1.69.2 #132
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
release: | |
if: github.event.repository.fork == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ruby | |
rubygems: latest | |
bundler-cache: true | |
- name: Compile | |
run: bundle exec rake compile | |
- name: Release | |
run: rake -f -r bundler/gem_tasks release | |
env: | |
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }} | |
release-pre-compiled: | |
if: github.event.repository.fork == false | |
needs: [release] | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: macos-latest | |
platform: arm64-darwin | |
- os: macos-latest | |
platform: x86_64-darwin | |
- os: ubuntu-latest | |
platform: aarch64-linux-android | |
- os: ubuntu-latest | |
platform: arm-linux-androideabi | |
- os: ubuntu-latest | |
platform: x86-linux-android | |
- os: ubuntu-latest | |
platform: x86_64-linux-android | |
- os: ubuntu-latest | |
platform: aarch64-linux-gnu | |
- os: ubuntu-latest | |
platform: arm-linux-gnueabihf | |
- os: ubuntu-latest | |
platform: x86-linux-gnu | |
- os: ubuntu-latest | |
platform: x86_64-linux-gnu | |
- os: ubuntu-latest | |
platform: aarch64-linux-musl | |
- os: ubuntu-latest | |
platform: arm-linux-musleabihf | |
- os: ubuntu-latest | |
platform: x86-linux-musl | |
- os: ubuntu-latest | |
platform: x86_64-linux-musl | |
- os: windows-latest | |
platform: x64-mingw-ucrt | |
- os: windows-latest | |
platform: x64-mingw32 | |
- os: windows-latest | |
platform: x86-mingw32 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ruby | |
rubygems: latest | |
bundler-cache: true | |
- name: Compile | |
run: bundle exec rake compile ext_platform=${{ matrix.platform }} | |
- name: Release | |
run: rake -f -r bundler/gem_tasks release gem_platform=${{ matrix.platform }} | |
env: | |
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }} |