Skip to content

bump ttrss to 2024-10-10 468f464b4 #97

bump ttrss to 2024-10-10 468f464b4

bump ttrss to 2024-10-10 468f464b4 #97

Workflow file for this run

name: Test build & release
on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
branches:
- main
env:
ARTIFACT_PREFIX: tt-rss
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v24
- run: nix build --no-update-lock-file
- run: nix flake check --no-update-lock-file
- name: Prepare artifacts
run: |
cp result/${{ env.ARTIFACT_PREFIX}}_*.raw ./
sh -c 'sha256sum $0 > $0.sha256' ${{ env.ARTIFACT_PREFIX }}_*.raw
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
retention-days: 5
path: |
${{ env.ARTIFACT_PREFIX }}_*.raw
${{ env.ARTIFACT_PREFIX }}_*.raw.sha256
name: ${{ env.ARTIFACT_PREFIX }}
- name: Release Info
run: nix build --no-update-lock-file .#release-info
- name: Create a github release from tag
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
prerelease: true
files: |
${{ env.ARTIFACT_PREFIX }}_*.raw
${{ env.ARTIFACT_PREFIX }}_*.raw.sha256
body_path: result