ci: 🏗️

This commit is contained in:
tidusjar 2021-09-29 16:32:13 +01:00
parent 5207b21f2f
commit e5026abdd6

View file

@ -182,35 +182,40 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Conventional Changelog Action # - name: Conventional Changelog Action
id: changelog # id: changelog
uses: TriPSs/conventional-changelog-action@v3 # uses: TriPSs/conventional-changelog-action@v3
with: # with:
github-token: ${{ secrets.github_token }} # github-token: ${{ secrets.github_token }}
git-message: 'chore(release): {version}' # git-message: 'chore(release): {version}'
version-file: 'version.json' # version-file: 'version.json'
output-file: 'CHANGELOG.md' # output-file: 'CHANGELOG.md'
- name: Download Artifacts - name: Download Artifacts
id: download
uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
with: with:
path: artifacts path: artifacts
- name: Publish to GitHub - name: Display structure of downloaded files
uses: softprops/action-gh-release@v1 run: ls -R
# if: startsWith(github.ref, 'refs/tags/') working-directory: artifacts
with:
body: ${{ steps.changelog.outputs.clean_changelog }} # - name: Publish to GitHub
draft: 'true' # uses: softprops/action-gh-release@v1
name: ${{ steps.changelog.outputs.tag }} # # if: startsWith(github.ref, 'refs/tags/')
tag_name: ${{ steps.changelog.outputs.tag }} # with:
files: | # body: ${{ steps.changelog.outputs.clean_changelog }}
artifacts/linux-arm.tar.gz # draft: 'true'
artifacts/linux-arm64.tar.gz # name: ${{ steps.changelog.outputs.tag }}
artifacts/linux-x64.tar.gz # tag_name: ${{ steps.changelog.outputs.tag }}
artifacts/osx-x64.tar.gz # files: |
artifacts/win10-x86.zip # artifacts/linux-arm.tar.gz
artifacts/win10-x64.zip # artifacts/linux-arm64.tar.gz
# artifacts/linux-x64.tar.gz
# artifacts/osx-x64.tar.gz
# artifacts/win10-x86.zip
# artifacts/win10-x64.zip