github: avoid name conflict #46
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
name: Unit test | |
jobs: | |
test: | |
runs-on: [ windows-latest ] | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [ '2.7', '3.1', '3.2', '3.3', '3.4' ] | |
name: Test on Windows Server with Ruby ${{ matrix.ruby }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install dependencies | |
run: ridk exec bundle install | |
- name: Run tests | |
run: bundle exec rake test | |
- name: Build for distribution | |
run: bundle exec gem build | |
- name: Upload gem | |
uses: actions/upload-artifact@v4 | |
with: | |
name: fluent-plugin-windows-exporter-${{ matrix.ruby }} | |
path: | | |
*.gem |