Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only upload on push to main
Browse files Browse the repository at this point in the history
codebytere committed Aug 12, 2024
1 parent e412853 commit 82671e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -5,6 +5,9 @@ on:
types:
- opened
- synchronize
push:
branches:
- main

permissions:
contents: write
@@ -58,6 +61,7 @@ jobs:
curl --output build/linux/sysroot_scripts/sysroots.json $json_url
az extension add --name storage-preview
- name: Upload Sysroots to Azure
if: github.event_name == 'push'
run: ./build/linux/sysroot_scripts/build_and_upload.py --upload
- name: Upload Sysroot JSON Artifact
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # 4.2.6

0 comments on commit 82671e4

Please sign in to comment.