Skip to content

Merge pull request #1344 from Sphereserver/dev #50

Merge pull request #1344 from Sphereserver/dev

Merge pull request #1344 from Sphereserver/dev #50

name: Create/upload auxiliary files to the release.
on:
push:
branches:
- 'master'
- 'main'
- 'dev'
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)
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