Skip to content

Commit

Permalink
New release workflow again
Browse files Browse the repository at this point in the history
Follow-up to #42

The try using a reusable workflow failed:
https://github.com/ybiquitous/easytest/actions/runs/7209639798/job/19641317427

This change is a try not using a reusable workflow.
  • Loading branch information
ybiquitous committed Dec 14, 2023
1 parent 17108c8 commit 5222727
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,25 @@ concurrency:

jobs:
release:
uses: ybiquitous/.github/.github/workflows/ruby-release-reusable.yml@new-ruby-release # TODO: Switch to @main
# TODO: uses: ybiquitous/.github/.github/workflows/ruby-release-reusable.yml@new-ruby-release # TODO: Switch to @main
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ruby # latest
bundler-cache: true
- name: Release gem
uses: rubygems/release-gem@v1
- name: Create GitHub release
run: |
tag_name="$(git describe --abbrev=0)"
gh release create "${tag_name}" --draft
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5222727

Please sign in to comment.