diff --git a/.github/workflows/release-gem.yml b/.github/workflows/release-gem.yml deleted file mode 100644 index 0d912d8fd..000000000 --- a/.github/workflows/release-gem.yml +++ /dev/null @@ -1,41 +0,0 @@ -# This manual workflow build and push the gem to rubygems and creates a release tag at the current master commit - -name: Release Gem -on: - workflow_dispatch: - -jobs: - - release-gem: - environment: release - runs-on: ubuntu-latest - env: - BUNDLE_GEMFILE: .github/gemfiles/default - steps: - - uses: actions/checkout@v4 # checks out default branch - - - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.3' - - run: bundle install - - - name: Dotenv Action - id: dotenv - uses: falti/dotenv-action@v1.0.4 - with: - path: .github/.env - - - name: Build and push - run: | - mkdir -p $HOME/.gem - printf -- "---\n:rubygems_api_key: ${RUBYGEMS_TOKEN}\n" > $HOME/.gem/credentials - chmod 0600 $HOME/.gem/credentials - gem build ${{ steps.dotenv.outputs.gem }}.gemspec - gem push ${{ steps.dotenv.outputs.gem }}-*.gem - env: - RUBYGEMS_TOKEN: ${{ secrets.RUBYGEMS_TOKEN }} - - - name: Create the release tag - uses: rickstaa/action-create-tag@v1.7.2 - with: - tag: ${{ steps.dotenv.outputs.version }}