Skip to content

Commit

Permalink
Merge pull request #587 from larskanis/github-v4
Browse files Browse the repository at this point in the history
CI: Use latest github actions
  • Loading branch information
larskanis authored Sep 5, 2024
2 parents 070b72b + 7515aac commit dd060bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/binary-gems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- platform: "x64-mingw32"
- platform: "x86-mingw32"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -37,7 +37,7 @@ jobs:
run: bundle exec rake gem:windows:${{ matrix.platform }}

- name: Upload binary gem
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: binary-gem
path: pkg/*.gem
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
env:
PGVERSION: ${{ matrix.PGVERSION }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
if: matrix.platform != 'x86-mingw32'
uses: ruby/setup-ruby@v1
Expand All @@ -85,7 +85,7 @@ jobs:
echo "C:/msys64/$env:MSYSTEM_PREFIX/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Download gem from build job
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: binary-gem

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/source-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -30,7 +30,7 @@ jobs:
run: gem build pg.gemspec

- name: Upload source gem
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: source-gem
path: "*.gem"
Expand Down Expand Up @@ -82,14 +82,14 @@ jobs:
MAKE: make -j2 V=1

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}

- name: Download gem from build job
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: source-gem

Expand Down

0 comments on commit dd060bc

Please sign in to comment.