Sha256: dbd4497e51f54af6a514872e289c7a4d88135611faf32b0fb438610036de6614
Contents?: true
Size: 1.36 KB
Versions: 2
Compression:
Stored size: 1.36 KB
Contents
name: release on: push: branches: - master jobs: create-release: runs-on: ubuntu-latest env: GITHUB_TOKEN: ${{ secrets.GHUB_PAT }} steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - uses: ridedott/release-me-action@master id: get-version-number with: dry-run: true - uses: actions/setup-ruby@v1 with: ruby-version: "2.6" - run: gem install bundler -v 2.1.2 - name: Set version.rb and Gemfile.lock run: | printf "module Chambermaid\n VERSION = \"$NEW_VERSION\"\nend" > lib/chambermaid/version.rb bundle install env: NEW_VERSION: ${{ steps.get-version-number.outputs.version }} - run: bundle exec rake build - uses: ridedott/release-me-action@master with: commit-assets: | ./lib/chambermaid/version.rb ./Gemfile.lock release-assets: | ./pkg/*.gem - name: publish to rubygems run: | mkdir -p ~/.gem printf -- "---\n:rubygems_api_key: $GEM_HOST_API_KEY" > ~/.gem/credentials chmod 0600 ~/.gem/credentials gem push pkg/chambermaid-$NEW_VERSION.gem env: GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }} NEW_VERSION: ${{ steps.get-version-number.outputs.version }}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chambermaid-0.5.5 | .github/workflows/release.yml |
chambermaid-0.5.4 | .github/workflows/release.yml |