Skip to content
Snippets Groups Projects
Unverified Commit 0254d996 authored by Patrick Marsceill's avatar Patrick Marsceill Committed by GitHub
Browse files

Update main.workflow

parent 9a076b48
No related branches found
No related tags found
No related merge requests found
workflow "Publish to RubyGems" {
on = "release"
resolves = ["scarhand/actions-ruby@master"]
resolves = [
"Publish to GPR",
"Publish to Ruby Gems",
]
}
action "Build from Gemspec" {
uses = "scarhand/actions-ruby@master"
runs = "build *.gemspec"
runs = "gem build *.gemspec"
}
action "scarhand/actions-ruby@master" {
action "Publish to Ruby Gems" {
uses = "scarhand/actions-ruby@master"
needs = ["Build from Gemspec"]
runs = "push *.gem"
runs = "gem push *.gem"
secrets = ["RUBYGEMS_AUTH_TOKEN"]
}
action "Publish to GPR" {
uses = "scarhand/actions-ruby@master"
needs = ["Build from Gemspec"]
secrets = ["GPR_AUTH_TOKEN"]
runs = " gem push --key github --host https://rubygems.pkg.github.com/pmarsceill *.gem"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment