diff --git a/.github/workflows/rake.yml b/.github/workflows/rake.yml index fef342c1..90fdfa73 100644 --- a/.github/workflows/rake.yml +++ b/.github/workflows/rake.yml @@ -235,7 +235,7 @@ jobs: cat .rspec_status || echo ".rspec_status was not found" verify-linux-gnu: - name: verify Linux (GNU) binary gem on ruby-${{ matrix.ruby }} + name: verify Linux (gnu) binary gem on ruby-${{ matrix.ruby }} needs: pack runs-on: ubuntu-latest strategy: @@ -263,7 +263,7 @@ jobs: path: pkg - name: Install binary gem - run: gem install -l pkg/expressir-*-$(ruby -e "puts RUBY_PLATFORM").gem + run: gem install -l pkg/expressir-*-$(ruby -e "puts RUBY_PLATFORM")-gnu.gem - name: Verify run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 61561377..903f8d73 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,8 +30,8 @@ jobs: - if: ${{ github.event_name == 'workflow_dispatch' }} # unfortunatelly cannot keep this condition on job level run: | - git config user.name github-actions - git config user.email github-actions@github.com + git config --global user.name github-actions + git config --global user.email github-actions@github.com gem install gem-release gem bump --version ${{ github.event.inputs.next_version }} --tag --push @@ -41,12 +41,11 @@ jobs: strategy: fail-fast: false matrix: - host: [ linux, windows, darwin ] + platform: [ linux-gnu, windows, darwin ] steps: - uses: actions/checkout@v4 with: submodules: recursive - ref: main # https://github.com/actions/checkout/issues/439#issuecomment-830862188 - uses: ruby/setup-ruby@master with: @@ -59,7 +58,7 @@ jobs: # build gem WITHOUT pre-built native extension - run: gem build expressir.gemspec - - if: matrix.host == 'linux' + - if: matrix.platform == 'linux-gnu' uses: actions/upload-artifact@v3 with: name: pkg-ruby @@ -74,11 +73,11 @@ jobs: sudo swapon --all --verbose # build gem WITH pre-built native extension - - run: bundle exec rake gem:${{ matrix.host }} + - run: bundle exec rake gem:${{ matrix.platform }} - uses: actions/upload-artifact@v3 with: - name: pkg-${{ matrix.host }} + name: pkg-${{ matrix.platform }} path: pkg/*.gem publish: @@ -92,7 +91,7 @@ jobs: - uses: actions/download-artifact@v3 with: - name: pkg-linux + name: pkg-linux-gnu path: pkg - uses: actions/download-artifact@v3 diff --git a/lib/expressir/version.rb b/lib/expressir/version.rb index 80589c5f..d74d5a7d 100644 --- a/lib/expressir/version.rb +++ b/lib/expressir/version.rb @@ -1,3 +1,3 @@ module Expressir - VERSION = "1.2.11".freeze + VERSION = "1.3.0.pre.1".freeze end