Skip to content

Bump actions/attest-build-provenance from 3.0.0 to 3.1.0 #254

Bump actions/attest-build-provenance from 3.0.0 to 3.1.0

Bump actions/attest-build-provenance from 3.0.0 to 3.1.0 #254

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@v6
- uses: ruby/setup-ruby@ac793fdd38cc468a4dd57246fa9d0e868aba9085 # [email protected]
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