Skip to content

Commit

Permalink
change github actions some more
Browse files Browse the repository at this point in the history
  • Loading branch information
RobCubed committed May 13, 2024
1 parent 739e92a commit 7ca75a3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build-engines-apple-silicon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,12 @@ jobs:
- run: |
cargo build --target=aarch64-apple-darwin --release -p schema-engine-cli
- uses: actions/upload-artifact@v4
- name: Upload binaries to latest
uses: svenstaro/upload-release-action@v2
with:
name: binaries
path: |
${{ github.workspace }}/target/aarch64-apple-darwin/release/schema-engine
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ github.workspace }}/target/aarch64-apple-darwin/release/schema-engine
asset_name: schema-engine-macos
tag: latest
overwrite: true
body: "infdev"
12 changes: 12 additions & 0 deletions .github/workflows/build-engines-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,15 @@ jobs:
path: |
${{ github.workspace }}/target/release/*.exe
${{ github.workspace }}/target/release/*.dll
- run: Compress-Archive -Path ${{ github.workspace }}/target/release/ -Destination ${{ github.workspace }}/windows.zip

- name: Upload binaries to latest
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ github.workspace }}/windows.zip
asset_name: schema-engine-windows.zip
tag: latest
overwrite: true
body: "infdev"

0 comments on commit 7ca75a3

Please sign in to comment.