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 3e81d93 commit 032a4f0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ defaults:
jobs:
create-release:
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
Expand Down Expand Up @@ -44,13 +45,11 @@ jobs:
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
# dry-run: ${{ !startsWith(github.ref, 'refs/tags/') }}
dry-run: true
dry-run: ${{ !startsWith(github.ref, 'refs/tags/') }}
bin: ansi2
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 032a4f0

Please sign in to comment.