Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
DEV: Clean up the workflow
Browse files Browse the repository at this point in the history
After a bit of a trial and error I figured it out: it didn't trigger for tags that pointed to older commits because GitHub Actions runs workflows that are present in a given ref (and those didn't have any workflows yet)
  • Loading branch information
CvX committed Jan 15, 2020
1 parent 0309d00 commit f2c32aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
@@ -1,6 +1,9 @@
name: Publish Gem

on: [create, push]
on:
push:
tags:
- v*

jobs:
build:
Expand All @@ -10,6 +13,5 @@ jobs:

- name: Release Gem
uses: cadwallion/publish-rubygems-action@5dfdb61
if: contains(github.ref, 'refs/tags/v')
env:
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}

0 comments on commit f2c32aa

Please sign in to comment.