Skip to content

Commit

Permalink
fix gem-deploy workflow (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
nic-lan authored Aug 8, 2023
1 parent c65010c commit 3318a89
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions .github/workflows/gem_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,38 @@ on:
- master

jobs:
gem_deploy:
uses: forward3d/github-actions-workflows/.github/workflows/gem_deploy.yml@main
release:
name: Tag & Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Tag
id: tag
uses: forward3d/gh-gem-tag-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag_prefix: v
- name: Read latest Changelog entry
id: changelog
run: |
echo "::set-output name=changelog::`./bin/prepare_changelog.sh`"
- name: Create release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag.outputs.tag }}
release_name: Release ${{ steps.tag.outputs.tag }}
body: ${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: false
publish:
name: Build & Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build and publish gem
uses: jstastny/publish-gem-to-github@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
owner: forward3d

0 comments on commit 3318a89

Please sign in to comment.