Fix version tag issue and update workflows #152
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test branches with slash in name | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
# To use this repository's private action, you must check out the repository | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Generate changelog | |
id: changelog | |
uses: metcalfc/changelog-generator@main | |
with: | |
myToken: ${{ secrets.GITHUB_TOKEN }} | |
head-ref: 'origin/test/branch' #add 'origin/` in front of your branch name | |
base-ref: 'v1.0.0' | |
fetch: false | |
- name: Get the changelog | |
run: | | |
cat << "EOF" | |
${{ steps.changelog.outputs.changelog }} | |
EOF | |