Skip to content

Commit

Permalink
testing github action v2
Browse files Browse the repository at this point in the history
  • Loading branch information
nidexingg committed Dec 13, 2024
1 parent 647fa6d commit d60b9b4
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,34 @@ permissions:

on:
push:
tags:
- "v*"
branches:
- alpha # Trigger on pushes to alpha branch

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-depth: 0 # Fetch all history for tagging

- name: Set Git User
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
- name: Create Tag
run: |
git tag -a "v${{ github.run_number }}" -m "Release v${{ github.run_number }}"
git push origin "v${{ github.run_number }}"
- id: setup-bun
name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- run: bunx changelogithub
- name: Generate Changelog
run: bunx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d60b9b4

Please sign in to comment.