Swap distance calc methods switched in 8b5bfc091b111d622086b5fecfb85d… #134
This file contains hidden or 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: Create/upload auxiliary files to the release. | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| - 'main' | |
| - 'dev' | |
| paths-ignore: | |
| - '*.txt' | |
| - '*.md' | |
| jobs: | |
| upload_github_release: | |
| # Upload artifact linked to GitHub RELEASE we are creating - only if the run is for a pull request, or for selected branches | |
| #if: contains(fromJson('["master", "main"]'), github.ref_name) | |
| permissions: | |
| contents: write | |
| actions: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Generate changelog | |
| run: git log --pretty=format:"%ad %an %s" --date=short > Git-Changelog.txt | |
| - name: Add auxiliary files to the release | |
| uses: softprops/action-gh-release@v2 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| name: Nightly | |
| tag_name: Nightly | |
| prerelease: true | |
| files: Git-Changelog.txt |