Skip to content

Commit 984009e

Browse files
Update gem-push.yml
1 parent 4058eaa commit 984009e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/gem-push.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616

1717
- name: Set up Ruby 3.2.2
1818
uses: ruby/setup-ruby@v1
@@ -34,11 +34,3 @@ jobs:
3434
gem push *.gem
3535
env:
3636
RUBYGEMS_AUTH_TOKEN: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
37-
38-
- name: Tag Incremental Version
39-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/main')
40-
run: |
41-
git config --local user.email "action@github.com"
42-
git config --local user.name "GitHub Action"
43-
git tag -a v$(date +'%Y%m%d%H%M%S') -m "Automated tag from GitHub Actions"
44-
git push origin --tags

0 commit comments

Comments
 (0)