chore: remove debug output #15
Workflow file for this run
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: Release | |
| on: | |
| push: | |
| tags: | |
| - "v*.*.*" | |
| permissions: | |
| contents: write | |
| jobs: | |
| create-release: | |
| runs-on: ubuntu-latest | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v6 | |
| - name: Create release | |
| run: | | |
| gh release create ${{ github.ref_name }} \ | |
| --verify-tag \ | |
| --generate-notes \ | |
| --draft | |
| upload-assets: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [macos-latest, ubuntu-latest, windows-latest] | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v6 | |
| - name: Set up Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Set up Node.js LTS | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "lts/*" | |
| - name: Build distribution file | |
| shell: bash | |
| run: make dist | |
| - name: Determine OS‑specific distribution file | |
| shell: bash | |
| run: | | |
| case $RUNNER_OS in | |
| Linux) echo "DIST_FILE=./dist/*.deb" >> $GITHUB_ENV ;; | |
| macOS) echo "DIST_FILE=./dist/*.dmg" >> $GITHUB_ENV ;; | |
| Windows) echo "DIST_FILE=./dist/*.exe" >> $GITHUB_ENV ;; | |
| esac | |
| - name: Upload distribution file | |
| shell: bash | |
| run: | | |
| gh release upload ${{ github.ref_name }} ${{ env.DIST_FILE }} |