Skip to content

fix(deps): update dependency io.sentry:sentry to v7.18.1 #141

fix(deps): update dependency io.sentry:sentry to v7.18.1

fix(deps): update dependency io.sentry:sentry to v7.18.1 #141

Workflow file for this run

name: πŸ—οΈ Build
on:
pull_request:
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
IMAGE_NAME: vcspeaker.kt
jobs:
bump-version:
name: πŸ”Ό Bump version
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.new_version }}
tag: ${{ steps.version.outputs.new_tag }}
changelog: ${{ steps.version.outputs.changelog }}
steps:
- name: πŸ”Ό Bump release version
id: version
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ github.token }}
default_bump: "minor"
custom_release_rules: "breaking:major:πŸ’£ Breaking Changes,feat:minor:✨ Features,fix:patch:πŸ’£ Bug Fixes,docs:patch:πŸ“° Docs,chore:patch:🎨 Chore,pref:patch:🎈 Performance improvements,refactor:patch:🧹 Refactoring,build:patch:πŸ” Build,ci:patch:πŸ” CI,revert:patch:βͺ Revert,style:patch:🧹 Style,test:patch:πŸ‘€ Test"
dry_run: true
build-docker:
name: πŸ—οΈ Build Docker (${{ matrix.architecture }})
runs-on: ubuntu-latest
needs: bump-version
strategy:
fail-fast: false
matrix:
architecture: [ amd64, arm64 ]
steps:
- name: πŸ“₯ Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: πŸ‹ Setup QEMU
uses: docker/setup-qemu-action@v3
- name: πŸ—οΈ Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: πŸ“₯ Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: πŸ“ Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5.6.1
with:
images: ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=${{ needs.bump-version.outputs.version }}-${{ matrix.architecture }}
type=raw,value=latest-${{ matrix.architecture }}
- name: πŸš€ Build Docker image
id: build
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: false
platforms: linux/${{ matrix.architecture }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
provenance: false
build-jar:
name: πŸ“¦ Build Jar
runs-on: ubuntu-latest
steps:
- name: β˜• Setup Zulu JDK 21
uses: actions/setup-java@v4.5.0
with:
distribution: zulu
java-version: 21
- name: 🐘 Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: release-candidate
- name: πŸ“₯ Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: βŒ› Restore caches
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: 🐘 Run Gradle command
run: |
gradle build
- name: πŸ“¦ Upload the artifact
uses: actions/upload-artifact@v4
with:
name: VCSpeaker.kt Shadow Jar
path: build/libs/vcspeaker-kt-all.jar
overwrite: true