Skip to content

Bump actions/attest-build-provenance from 4.1.1 to 4.2.2 #416

Bump actions/attest-build-provenance from 4.1.1 to 4.2.2

Bump actions/attest-build-provenance from 4.1.1 to 4.2.2 #416

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_call:
permissions:
contents: read
jobs:
build:
name: build
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v7
- uses: ruby/setup-ruby@a30dfa457ad68707b8b910ac3a244714b61c0626 # pin@v1.320.0
with:
bundler-cache: true
- name: build
run: |
GEM_NAME=$(ls | grep gemspec | cut -d. -f1)
echo "Attempting to build gem $GEM_NAME..."
gem build $GEM_NAME
if [ $? -eq 0 ]; then
echo "Gem built successfully!"
else
echo "Gem build failed!"
exit 1
fi