Skip to content

ci: reuse workflow again; bump upload-artifact version #14

ci: reuse workflow again; bump upload-artifact version

ci: reuse workflow again; bump upload-artifact version #14

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- ci/fix-release-action
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
concurrency:
group: release
jobs:
build:
uses: ./.github/workflows/build.yaml
release:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
path: tmp
- run: ls -al
- run: cd tmp
- run: ls -al
# - uses: pnpm/action-setup@v2
# with:
# version: 8
# - uses: actions/setup-node@v4
# with:
# node-version: 20
# cache: pnpm
# - run: pnpm i
# - uses: glzr-io/actions/semantic-release@main
# with:
# gh-publish: true
# gh-token: ${{ secrets.GITHUB_TOKEN }}
# gh-draft-release: false
# gh-assets: |
# [
# {
# "path": "tmp/bundle-x86_64-pc-windows-msvc/tauri.msi",
# "name": "Zebar_x64_${nextRelease.gitTag}.msi"
# },
# {
# "path": "tmp/bundle-i686-pc-windows-msvc/tauri.msi",
# "name": "Zebar_x86_${nextRelease.gitTag}.msi"
# },
# {
# "path": "tmp/bundle-universal-apple-darwin/tauri.dmg",
# "name": "Zebar_${nextRelease.gitTag}.dmg"
# },
# {
# "path": "tmp/bundle-x86_64-unknown-linux-gnu/tauri.deb",
# "name": "Zebar_x64_${nextRelease.gitTag}.deb"
# },
# {
# "path": "tmp/bundle-x86_64-unknown-linux-gnu/tauri.AppImage",
# "name": "Zebar_x64_${nextRelease.gitTag}.AppImage"
# }
# ]
# npm-publish: true
# npm-token: ${{ secrets.NPM_TOKEN }}
# npm-package-root: packages/client-api
# npm-package-manager: pnpm