Skip to content

Commit

Permalink
ci: add artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaoboy committed Oct 15, 2024
1 parent 0499818 commit aefe38e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,17 @@ defaults:
shell: bash --noprofile --norc -CeEuo pipefail {0}

jobs:
upload-assets:
create-release:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
if: ${{ startsWith(github.ref, 'refs/tags/') }}
if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{ secrets.GITHUB_TOKEN }}

upload-assets:
needs: create-release
strategy:
matrix:
include:
Expand All @@ -48,6 +49,7 @@ jobs:
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}
ref: refs/tags/dummy
# ref: ${{ startsWith(github.ref, 'refs/tags/') && github.event_name == 'push' ? github.ref : 'refs/tags/dummy' }}
features: cli
env:
RUSTFLAGS: ${{ matrix.RUSTFLAGS }}
Expand Down

0 comments on commit aefe38e

Please sign in to comment.