Sha256: f6bc83636ea5247aebffe6a7c16fb9425c61c64f5048828767a5f4d0fd59a70a
Contents?: true
Size: 898 Bytes
Versions: 3
Compression:
Stored size: 898 Bytes
Contents
name: Publish on: workflow_dispatch: branches: [ main ] jobs: test: name: Publish gem runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: '3.0' bundler-cache: true - name: Run tests run: bundle exec rake spec - name: Publish gem uses: dawidd6/action-publish-gem@v1 with: api_key: ${{secrets.RUBYGEMS_API_KEY}} - name: Create git tag uses: duderman/gh-gem-tag-action@v1 id: release_info with: github_token: ${{ secrets.GITHUB_TOKEN }} - uses: xresloader/upload-to-github-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ steps.release_info.outputs.tag }} draft: false file: '*.gem'
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
danger-spotbugs-0.0.1 | .github/workflows/publish.yml |
danger-pmd-1.0.3 | .github/workflows/publish.yml |
danger-pmd-1.0.2 | .github/workflows/publish.yml |