Sha256: 9a8e5fac4bfcd9435d7b2c30b4165c7cd7cc8ed63f2d66fd00858eae84b13a8d
Contents?: true
Size: 1.49 KB
Versions: 19
Compression:
Stored size: 1.49 KB
Contents
# Very important! # Make sure that the github token has read AND WRITE access on github. # 1. hit https://github.com/seatsio/[REPO]/settings/actions # 2. under "Workflow permissions", make sure "Read and write permissions" is checked instead of the (default?) read only. # name: Release run-name: Release ${{ github.repository }} on: workflow_dispatch: inputs: versionToBump: description: 'The version to bump. Major for incompatible API changes, minor for adding BC features' required: true type: choice options: - minor - major jobs: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - uses: fregante/setup-git-user@v2 - id: install-zx run: npm i -g zx - id: install-semver-tool run: | wget -O /usr/local/bin/semver https://raw.githubusercontent.com/fsaintjacques/semver-tool/master/src/semver chmod +x /usr/local/bin/semver - run: zx ./release.mjs -v $VERSION_TO_BUMP env: VERSION_TO_BUMP: ${{ inputs.versionToBump }} GH_TOKEN: ${{ github.token }} - run: | mkdir -p $HOME/.gem touch $HOME/.gem/credentials chmod 0600 $HOME/.gem/credentials printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials gem build *.gemspec gem push *.gem env: GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"
Version data entries
19 entries across 19 versions & 1 rubygems