Sha256: ca42dd2da5fc2c2e627888084c8c5604754c9b94fd996d523f1c677b5c99df70
Contents?: true
Size: 1.24 KB
Versions: 3
Compression:
Stored size: 1.24 KB
Contents
name: Build and Checks of Gem Package on: push: branches: - '*' - '!master' jobs: build_and_checks: runs-on: ubuntu-latest steps: - name: Checkout Repository uses: actions/checkout@v2 - name: Set Up Ruby uses: actions/setup-ruby@v1 with: ruby-version: 3.0 - name: Install Dependencies run: | gem install bundler bundle install - name: Build Gem Package run: | gem build middleware_rubygem.gemspec - name: Check for Version Change id: version_check run: | # Get the latest version from the main branch LATEST_VERSION=$(git fetch origin master && git show origin/master:lib/middleware/ruby_gem/version.rb | grep 'VERSION =' | awk '{print $3}' | tr -d '"') # Get the current version from the current commit NEW_VERSION=$(git show HEAD:lib/middleware/ruby_gem/version.rb | grep 'VERSION =' | awk '{print $3}' | tr -d '"') if [ "$LATEST_VERSION" != "$NEW_VERSION" ]; then echo "Version changed from $LATEST_VERSION to $NEW_VERSION" else echo "::warning file=version.rb::Version remains unchanged" fi
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
middleware_apm-1.1.0 | .github/workflows/feature.yaml |
middleware_apm-1.0.0 | .github/workflows/feature.yaml |
middleware_apm_dp-1.0.0 | .github/workflows/feature.yaml |