From 483c366276627ea10e5eb6690acc8d6a3b9e3de8 Mon Sep 17 00:00:00 2001 From: Cabia Rangris Date: Fri, 3 May 2024 21:08:54 +0400 Subject: [PATCH] testing release wf --- .github/workflows/build.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3b148e5..5e4dff7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -7,11 +7,22 @@ jobs: build: name: Build runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v3 - uses: determinatesystems/nix-installer-action@main - - run: nix build . + - run: nix build . -o resume.pdf - uses: actions/upload-artifact@v4 with: name: resume.pdf - path: result + path: resume.pdf + - uses: ncipollo/release-action@v1 + if: ${{ github.ref == 'refs/heads/master' }} + with: + allowUpdates: true + artifacts: resume.pdf + makeLatest: true + tag: "latest" + omitBody: true + omitName: true