Skip to content

Commit

Permalink
undate triger
Browse files Browse the repository at this point in the history
  • Loading branch information
sunrisewestern committed Jan 3, 2025
1 parent 2712370 commit 4cc07dc
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ name: Build and Release

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
tags:
- '*'
workflow_dispatch:

permissions:
contents: write

jobs:
build:
Expand Down Expand Up @@ -88,15 +91,6 @@ jobs:
asset_name: header-aarch64-apple-darwin
asset_content_type: application/octet-stream
- name: Upload Release Asset 3
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: artifacts/header-x86_64-pc-windows-gnu/header-x86_64-pc-windows-gnu
asset_name: header-x86_64-pc-windows-gnu
asset_content_type: application/octet-stream
- name: Upload Release Asset 4
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 4cc07dc

Please sign in to comment.