.github/workflows/ruby.yml in tracking_number-1.3.1 vs .github/workflows/ruby.yml in tracking_number-1.3.2
- old
+ new
@@ -18,5 +18,16 @@
run: |
gem install bundler
git submodule update --init
bundle install --jobs 4 --retry 3
bundle exec rake
+ publish:
+ name: Release
+ runs-on: ubuntu-latest
+ if: github.ref == 'refs/heads/main'
+ needs: [test]
+ steps:
+ - name: Dispatch Release
+ uses: benc-uk/workflow-dispatch@v1
+ with:
+ workflow: Generate New Release
+ token: ${{ secrets.GITHUB_TOKEN }}