Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wznmickey authored Dec 28, 2024
1 parent 39f863e commit e705a82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: create artifact directory
shell: bash
run: |
directory=typst-${{ matrix.target }}
directory=canvas_syncer-${{ matrix.target }}
mkdir $directory
cp README LICENSE $directory
if [ -f target/${{ matrix.target }}/release/canvas_syncer.exe ]; then
Expand All @@ -75,14 +75,14 @@ jobs:
- uses: actions/upload-artifact@v4
if: github.event_name == 'workflow_dispatch'
with:
name: typst-${{ matrix.target }}
path: "typst-${{ matrix.target }}.*"
name: canvas_syncer-${{ matrix.target }}
path: "canvas_syncer-${{ matrix.target }}.*"
retention-days: 3

- uses: ncipollo/release-action@v1.14.0
if: github.event_name == 'release'
with:
artifacts: "typst-${{ matrix.target }}.*"
artifacts: "canvas_syncer-${{ matrix.target }}.*"
allowUpdates: true
omitNameDuringUpdate: true
omitBodyDuringUpdate: true

0 comments on commit e705a82

Please sign in to comment.