Fix Quick View scroll gaps and stale task list after Quick Entry, bum… #45
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: Build and Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: windows-latest | |
| artifact-name: windows | |
| artifact-path: out/make/squirrel.windows/x64/*.exe | |
| - os: macos-latest | |
| artifact-name: macos | |
| artifact-path: out/make/*.dmg | |
| - os: ubuntu-latest | |
| artifact-name: linux | |
| artifact-path: | | |
| out/make/deb/x64/*.deb | |
| out/make/rpm/x64/*.rpm | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install RPM tools (Linux only) | |
| if: runner.os == 'Linux' | |
| run: sudo apt-get update && sudo apt-get install -y rpm | |
| - name: Extract version from tag | |
| shell: bash | |
| run: echo "BUILD_VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV | |
| - name: Build installer | |
| run: npm run make | |
| - name: Rename macOS artifacts | |
| if: runner.os == 'macOS' | |
| shell: bash | |
| run: | | |
| VERSION="${GITHUB_REF_NAME#v}" | |
| for f in out/make/*.dmg; do | |
| mv "$f" "out/make/Vikunja-Quick-Entry-${VERSION}-arm64.dmg" | |
| done | |
| - name: Rename Linux artifacts | |
| if: runner.os == 'Linux' | |
| shell: bash | |
| run: | | |
| VERSION="${GITHUB_REF_NAME#v}" | |
| mv out/make/deb/x64/*.deb "out/make/deb/x64/Vikunja-Quick-Entry-${VERSION}-amd64.deb" | |
| mv out/make/rpm/x64/*.rpm "out/make/rpm/x64/Vikunja-Quick-Entry-${VERSION}-x86_64.rpm" | |
| - name: Upload build artifacts | |
| uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 | |
| with: | |
| name: ${{ matrix.artifact-name }} | |
| path: ${{ matrix.artifact-path }} | |
| if-no-files-found: error | |
| release: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download all artifacts | |
| uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | |
| with: | |
| path: artifacts | |
| merge-multiple: true | |
| - name: Create GitHub Release | |
| uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1 | |
| with: | |
| files: artifacts/**/* |