Skip to content

Commit

Permalink
Switch ci-windows-artifacts to release trigger (#1926)
Browse files Browse the repository at this point in the history
Instead of main branch commit trigger.
  • Loading branch information
y-guyon authored Jan 12, 2024
1 parent 7161d28 commit acaab91
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci-windows-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@

name: CI Windows Artifacts
on:
push:
branches:
- main
release:
types: [created]

permissions:
contents: read
contents: [read, write]

jobs:
build-static:
Expand Down Expand Up @@ -88,8 +87,8 @@ jobs:
working-directory: ./build
run: ninja
- name: Upload artifacts
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
uses: skx/github-action-publish-binaries@b9ca5643b2f1d7371a6cba7f35333f1461bbc703 # release-2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: tool-binaries
path: build/*.exe
retention-days: 90
args: 'build/*.exe'

0 comments on commit acaab91

Please sign in to comment.