diff --git a/.gitea/workflows/sample.yaml b/.gitea/workflows/sample.yaml index 6594d4f..5e88bf2 100644 --- a/.gitea/workflows/sample.yaml +++ b/.gitea/workflows/sample.yaml @@ -19,10 +19,6 @@ jobs: npm i npm run build - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} - - name: Install weasyprint run: | sudo apt-get update @@ -34,13 +30,14 @@ jobs: run: | venv/bin/weasyprint generated_resume.html resume.pdf - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} + - name: Generate tag + id: tag + run: echo "tag=resume-$(date +'%Y%m%d-%H%M%S')" >> $GITHUB_OUTPUT - name: Create Release uses: akkuman/gitea-release-action@v1 with: files: |- resume.pdf + tag_name: ${{ steps.tag.outputs.tag }} token: ${{ secrets.GITHUB_TOKEN }}