diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3b148e5..64538a5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,8 +10,16 @@ jobs: 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 + omitBody: true + omitName: true