Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Keszey Dániel authored and Keszey Dániel committed Sep 11, 2024
1 parent be5f1ac commit f49c87b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: Build and Release Binary

on:
push:
branches: [ gwyneth ]
branches: [ gwyneth ] # Trigger on push to main branch
pull_request:
branches: [ gwyneth ]
branches: [ gwyneth ] # Trigger on PR to main branch
workflow_dispatch: # Allow manual trigger

jobs:
build:
runs-on: ubuntu-22.04 # This ensures we build on Ubuntu 22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Rust
uses: actions-rs/toolchain@v1
Expand All @@ -24,7 +24,7 @@ jobs:
run: cargo build --release

- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: rbuilder
path: target/release/rbuilder
Expand All @@ -35,7 +35,7 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: rbuilder

Expand Down

0 comments on commit f49c87b

Please sign in to comment.