Skip to content

Commit

Permalink
Bundle sourcekitten
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Oct 25, 2024
1 parent 8de13ed commit 72b3b0c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/native-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,26 @@ jobs:
GITHUB_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload linux amd64
run: |
run: |
cd thirdparty/sourcekitten/SourceKitten/.build/release/
oras push ghcr.io/cyclonedx/cdxgen-plugins-bin:linux-amd64 \
--artifact-type application/vnd.oras.config.v1+json \
./thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten:application/vnd.cyclonedx.plugins.layer.v1+tar \
./thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten.sha256:application/vnd.cyclonedx.plugins.layer.v1+tar
./sourcekitten:application/vnd.cyclonedx.plugins.layer.v1+tar \
./sourcekitten.sha256:application/vnd.cyclonedx.plugins.layer.v1+tar
if: matrix.os == 'ubuntu-latest'
- name: Upload darwin amd64
run: |
run: |
cd thirdparty/sourcekitten/SourceKitten/.build/release/
oras push ghcr.io/cyclonedx/cdxgen-plugins-bin:darwin-amd64 \
--artifact-type application/vnd.oras.config.v1+json \
./thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten:application/vnd.cyclonedx.plugins.layer.v1+tar \
./thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten.sha256:application/vnd.cyclonedx.plugins.layer.v1+tar
./sourcekitten:application/vnd.cyclonedx.plugins.layer.v1+tar \
./sourcekitten.sha256:application/vnd.cyclonedx.plugins.layer.v1+tar
if: matrix.os == 'macos-13'
- name: Upload darwin arm64
run: |
run: |
cd thirdparty/sourcekitten/SourceKitten/.build/release/
oras push ghcr.io/cyclonedx/cdxgen-plugins-bin:darwin-arm64 \
--artifact-type application/vnd.oras.config.v1+json \
./thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten:application/vnd.cyclonedx.plugins.layer.v1+tar \
./thirdparty/sourcekitten/SourceKitten/.build/release/sourcekitten.sha256:application/vnd.cyclonedx.plugins.layer.v1+tar
./sourcekitten:application/vnd.cyclonedx.plugins.layer.v1+tar \
./sourcekitten.sha256:application/vnd.cyclonedx.plugins.layer.v1+tar
if: matrix.os == 'macos-15'
2 changes: 1 addition & 1 deletion packages/darwin-amd64/plugins/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ trivy/
cargo-auditable/
osquery/
dosai/
sourcekitten/
sourcekitten/

0 comments on commit 72b3b0c

Please sign in to comment.