feat: Rename ci.yml to main.yml, and add support for release.yml #1
Workflow file for this run
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
on: | |
push: | |
branches: | |
- release/* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 999 | |
fetch-tags: true | |
submodules: true | |
ssh-key: ${{ secrets.ACCESS_KEY }} | |
- name: Release Notes | |
run: | | |
git log --pretty=format:'%d %s' ${GITHUB_REF} | perl -pe 's| \(.*tag: (\d+.\d+.\d+(-preview\d{3})?)(, .*?)*\)|\n## \1\n|g' > RELEASE_NOTES.md | |
- name: Build | |
run: ./build.sh --target Publish --publish --source GitHUb --feed ${{ vars.PUBLIC_NUGET_FEED }} --username ${{ vars.PUBLIC_NUGET_USERNAME }} --token ${{ secrets.PUBLIC_NUGET_APIKEY }} |