Skip to content

Commit

Permalink
ci(release): fix body output
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed Oct 22, 2024
1 parent 82f166c commit f15d62e
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/release-gui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.1

- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
Expand All @@ -29,18 +29,18 @@ jobs:
uses: dtolnay/rust-toolchain@stable

- name: Rust cache
uses: Swatinem/rust-cache@v2
uses: Swatinem/rust-cache@v2.7.5
with:
prefix-key: cargo-${{ matrix.platform }}

- name: Sync node version and setup cache
uses: actions/setup-node@v4
uses: actions/setup-node@v4.0.4
with:
node-version: 'lts/*'
cache: 'npm'

- name: Node.js cache
uses: actions/cache@v4
uses: actions/cache@v4.1.2
with:
path: ${{ github.workspace }}/gui/frontend/.next/cache
# Generate a new cache whenever packages or source files change.
Expand All @@ -49,27 +49,27 @@ jobs:
- name: Install frontend dependencies
run: npm ci

- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1.10.2
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}
if: runner.os == 'macOS'

- name: Build the app
uses: tauri-apps/tauri-action@v0
uses: tauri-apps/tauri-action@action-v0.5.15

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
releaseName: 'DAR to OAR Converter v__VERSION__'
tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
tagName: ${{ github.ref_name }}
releaseBody: ${{ steps.changelog.outputs.changes }}
prerelease: false

# ---- CHANGELOG ----
- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}
if: runner.os == 'macOS'

- name: Commit CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v5
uses: stefanzweifel/git-auto-commit-action@v5.0.1
with:
branch: main
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
Expand Down

0 comments on commit f15d62e

Please sign in to comment.