Skip to content

Commit

Permalink
Create upload.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLee18 authored Aug 15, 2024
1 parent 6aa7bb2 commit a800f48
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Upload Binary

on:
push:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --release
- name: Upload
uses: actions/upload-artifact@v3
with:
name: inject_42h-${{ matrix.os }}
path: upload/*
retention-days: 1

0 comments on commit a800f48

Please sign in to comment.