Skip to content

Commit

Permalink
ci: Add artifacts to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo-sturdy committed Feb 6, 2024
1 parent 2dc6b80 commit db8c552
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- master
- main
tags:
- "v*.*.*"
pull_request:
branches:
- master
Expand Down Expand Up @@ -33,3 +35,10 @@ jobs:
with:
name: artifacts
path: artifacts/

- name: Add artifacts to release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: artifacts/*
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit db8c552

Please sign in to comment.