diff --git a/.github/workflows/master.yaml b/.github/workflows/master.yaml index f1ecc25..6820d5f 100644 --- a/.github/workflows/master.yaml +++ b/.github/workflows/master.yaml @@ -4,6 +4,7 @@ on: push: branches: - master + - master-workflow-update jobs: release_gem_linux: @@ -36,7 +37,7 @@ jobs: chmod 0600 $HOME/.gem/credentials printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials gem build *.gemspec - gem push *.gem +# gem push *.gem release_gem_windows: name: Release Gem for Windows @@ -52,13 +53,11 @@ jobs: ruby-version: 3.0 - name: Install Dependencies - shell: bash run: | gem install bundler bundle install - name: Build Gem Package - shell: bash run: | gem build middleware_rubygem.gemspec @@ -72,7 +71,7 @@ jobs: chmod 0600 $HOME/.gem/credentials printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials gem build *.gemspec - gem push *.gem +# gem push *.gem create_release: name: Release the latest release @@ -92,15 +91,15 @@ jobs: NEW_VERSION=$(git show HEAD:lib/middleware/ruby_gem/version.rb | grep 'VERSION =' | awk '{print $3}' | tr -d '"') echo "::set-output name=version::$NEW_VERSION" - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: v${{ steps.get_new_version.outputs.version }} - release_name: Release ${{ steps.get_new_version.outputs.version }} - body: | - Release ${{ steps.get_new_version.outputs.version }} - draft: false - prerelease: false +# - name: Create Release +# id: create_release +# uses: actions/create-release@v1 +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# with: +# tag_name: v${{ steps.get_new_version.outputs.version }} +# release_name: Release ${{ steps.get_new_version.outputs.version }} +# body: | +# Release ${{ steps.get_new_version.outputs.version }} +# draft: false +# prerelease: false