Skip to content

Commit

Permalink
feat: Semantic release...again
Browse files Browse the repository at this point in the history
  • Loading branch information
blissd committed Mar 10, 2024
1 parent ee848ff commit c8311bd
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,16 @@ jobs:
output_dir: out
- name: Rename PDF
run: cp out/README.pdf ./david_bliss_cv.pdf
- name: Upload Artefact
uses: actions/upload-artifact@v4
- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: david_bliss_cv.pdf
path: david_bliss_cv.pdf
branch: main
- name: Release
if: steps.semantic.outputs.new_release_published == 'true'
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.semantic.outputs.new_release_git_tag }}
files: david_bliss_cv.pdf

0 comments on commit c8311bd

Please sign in to comment.