.github/workflows/main.yml in songstats-api-0.1.2 vs .github/workflows/main.yml in songstats-api-0.1.4

- old
+ new

@@ -14,5 +14,22 @@ - name: Run the default task run: | gem install bundler -v 2.2.3 bundle install bundle exec rake + publish: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.0.0 + - name: Run the publish task + run: | + gem install bundler -v 2.2.3 + bundle install + gem build + gem push --key github --file *.gem + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}