From 1ddf3391726c6c391d0f3123d31f4f50058de47c Mon Sep 17 00:00:00 2001 From: Jared Kling Date: Mon, 8 Dec 2025 22:38:54 -0600 Subject: [PATCH] combine into a single job rather than use artifacts --- .gitea/workflows/sample.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/sample.yaml b/.gitea/workflows/sample.yaml index 43b4738..58c6bc9 100644 --- a/.gitea/workflows/sample.yaml +++ b/.gitea/workflows/sample.yaml @@ -9,33 +9,36 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: "latest" + - name: Build the resume run: | npm i npm run build + - name: List files in the repository run: | ls ${{ gitea.workspace }} - convert_to_pdf: - runs-on: ubuntu-latest - steps: - name: Install weasyprint run: | sudo apt-get update sudo apt-get install -y python3-venv python3-pip libpango-1.0-0 libpangoft2-1.0-0 python3 -m venv venv venv/bin/pip install weasyprint + - name: Convert to pdf run: | venv/bin/weasyprint generated_resume.html resume.pdf + - name: List files in the repository run: | ls ${{ gitea.workspace }} - upload_as_release: - runs-on: ubuntu-latest - steps: - name: Create Release uses: akkuman/gitea-release-action@v1 with: