Skip to content

Update build.yml

Update build.yml #3

Workflow file for this run

name: Build
on:
push:
branches: [ 'master', 'ci-test' ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
with:
ruby-version: '3.0'
- name: Install dependencies
run: bundle install
- name: Create artifact
run: gem build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3
with:
name: gemfile
path: '*.gem'