Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
m-yahya committed Oct 19, 2023
1 parent bb1bd2e commit ee6b393
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
push:
branches: [ main ]
branches: [main]

jobs:
build:
Expand Down Expand Up @@ -51,18 +51,18 @@ jobs:
target: ${{ matrix.target }}
override: true

- name: Clean Target Directory
run: cargo clean

- name: Build using cargo (ignore if it fails)
continue-on-error: true
uses: actions-rs/cargo@v1
with:
command: build
args: --release
run: cargo build --release --target ${{ matrix.target }}

- name: List build artifacts
run: ls -R target/

- name: Upload artifact (if build passed)
uses: actions/upload-artifact@v2
with:
name: gh-issue-creator-${{ matrix.target }}
path: target/${{ matrix.target }}/release/gh-issue-creator*
path: target/${{ matrix.target }}/release/gh-issue-creator

0 comments on commit ee6b393

Please sign in to comment.