WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 72b3b0c

Browse files
committed
Bundle sourcekitten
Signed-off-by: Prabhu Subramanian <[email protected]>
1 parent 8de13ed commit 72b3b0c

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

.github/workflows/native-builds.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,26 @@ jobs:
3535
GITHUB_USERNAME: ${{ github.actor }}
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737
- name: Upload linux amd64
38-
run: |
38+
run: |
39+
cd thirdparty/sourcekitten/SourceKitten/.build/release/
3940
oras push ghcr.io/cyclonedx/cdxgen-plugins-bin:linux-amd64 \
4041
--artifact-type application/vnd.oras.config.v1+json \
41-
./thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten:application/vnd.cyclonedx.plugins.layer.v1+tar \
42-
./thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten.sha256:application/vnd.cyclonedx.plugins.layer.v1+tar
42+
./sourcekitten:application/vnd.cyclonedx.plugins.layer.v1+tar \
43+
./sourcekitten.sha256:application/vnd.cyclonedx.plugins.layer.v1+tar
4344
if: matrix.os == 'ubuntu-latest'
4445
- name: Upload darwin amd64
45-
run: |
46+
run: |
47+
cd thirdparty/sourcekitten/SourceKitten/.build/release/
4648
oras push ghcr.io/cyclonedx/cdxgen-plugins-bin:darwin-amd64 \
4749
--artifact-type application/vnd.oras.config.v1+json \
48-
./thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten:application/vnd.cyclonedx.plugins.layer.v1+tar \
49-
./thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten.sha256:application/vnd.cyclonedx.plugins.layer.v1+tar
50+
./sourcekitten:application/vnd.cyclonedx.plugins.layer.v1+tar \
51+
./sourcekitten.sha256:application/vnd.cyclonedx.plugins.layer.v1+tar
5052
if: matrix.os == 'macos-13'
5153
- name: Upload darwin arm64
52-
run: |
54+
run: |
55+
cd thirdparty/sourcekitten/SourceKitten/.build/release/
5356
oras push ghcr.io/cyclonedx/cdxgen-plugins-bin:darwin-arm64 \
5457
--artifact-type application/vnd.oras.config.v1+json \
55-
./thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten:application/vnd.cyclonedx.plugins.layer.v1+tar \
56-
./thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten.sha256:application/vnd.cyclonedx.plugins.layer.v1+tar
58+
./sourcekitten:application/vnd.cyclonedx.plugins.layer.v1+tar \
59+
./sourcekitten.sha256:application/vnd.cyclonedx.plugins.layer.v1+tar
5760
if: matrix.os == 'macos-15'

packages/darwin-amd64/plugins/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ trivy/
33
cargo-auditable/
44
osquery/
55
dosai/
6-
sourcekitten/
6+
sourcekitten/

0 commit comments

Comments
 (0)