Skip to content

Commit

Permalink
Update workflows with version action
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Wenger committed Mar 21, 2024
1 parent df77255 commit 309158e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ on:
jobs:
build:
name: Build + Publish
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: ["2.7"]
runs-on: ${{ matrix.os }}
permissions:
contents: read
packages: write
Expand All @@ -21,10 +26,11 @@ jobs:
run: |
echo $VERSION
echo ${{ env.VERSION }}
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
- name: Set up Ruby Versions
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Retrieve bearer token
id: get_bearer_token
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
- name: Set up Ruby Versions
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down

0 comments on commit 309158e

Please sign in to comment.