Skip to content

Commit 67826ad

Browse files
committed
exercise build_library
1 parent 320b3f8 commit 67826ad

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/build_library.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Library Release Build
22

33
on:
4-
push:
5-
branches:
6-
- release-library/**
4+
pull_request:
5+
# branches:
6+
# - release-library/**
77

88
env:
99
CARGO_TERM_COLOR: always
@@ -127,18 +127,18 @@ jobs:
127127
# since this artifact will be merged, compression is not necessary
128128
compression-level: '0'
129129

130-
merge:
131-
name: Create Release Artifact
132-
runs-on: ubuntu-latest
133-
needs: [linux, macos, sdist]
134-
steps:
135-
# Note: due to the immutability of artifacts in upload-artifact v4,
136-
# there cannot be mutliple upload-artifacts with the same name, in a sha's workflow runs.
137-
# However in this case it is fine because this only runs on release-library/** branches,
138-
# and the other runs on release/** branches.
139-
- uses: actions/upload-artifact/merge@v4
140-
with:
141-
# Craft expects release assets to be a single artifact named after the sha.
142-
name: ${{ github.sha }}
143-
pattern: artifact-*
144-
delete-merged: true
130+
# merge:
131+
# name: Create Release Artifact
132+
# runs-on: ubuntu-latest
133+
# needs: [linux, macos, sdist]
134+
# steps:
135+
# # Note: due to the immutability of artifacts in upload-artifact v4,
136+
# # there cannot be mutliple upload-artifacts with the same name, in a sha's workflow runs.
137+
# # However in this case it is fine because this only runs on release-library/** branches,
138+
# # and the other runs on release/** branches.
139+
# - uses: actions/upload-artifact/merge@v4
140+
# with:
141+
# # Craft expects release assets to be a single artifact named after the sha.
142+
# name: ${{ github.sha }}
143+
# pattern: artifact-*
144+
# delete-merged: true

0 commit comments

Comments
 (0)