Skip to content

Commit

Permalink
ci: ๐Ÿ”„ + upload artifacts to github release
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-labs committed Jan 4, 2024
1 parent 5635541 commit f33e92b
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: "๐Ÿš€ ยป publish"

on:
release:
types: [published]

env:
CRATE_NAME: kurv
GITHUB_TOKEN: ${{ github.token }}
RUST_BACKTRACE: 1
defaults:
run:
shell: 'bash'

jobs:
build:
Expand Down Expand Up @@ -61,4 +61,22 @@ jobs:
with:
name: kurv-${{ matrix.platform.os_name }}
path: "kurv-*"



publish-gh-release:
name: ๐Ÿš€ ยป publish github release
needs: build
runs-on: ubuntu-latest
steps:
# downloads the artifact from the build job
- name: ๐Ÿ“ฅ ยป download artifacts
uses: actions/download-artifact@v4

- name: ๐Ÿ“ ยป list files
run: ls -l -a -R

- name: ๐Ÿš€ ยป upload artifacts to github release
uses: softprops/action-gh-release@v1
with:
files: |
kurv-*

0 comments on commit f33e92b

Please sign in to comment.