Skip to content

Commit

Permalink
Upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Jun 3, 2024
1 parent ed30c5d commit f4f78e1
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/signMacOsBinaries.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Sign MacOS Binaries
on:
workflow_dispatch:
on: [push]
jobs:
SignBinary:
name: Sign-JFrog-CLI-MacOS-Binary
runs-on: macos-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, macos-arm64]
steps:
- name: Setup Go
uses: actions/setup-go@v5
Expand All @@ -23,4 +25,13 @@ jobs:
APPLE_CERT_DATA: ${{ secrets.APPLE_CERT_DATA }}
APPLE_CERT_PASSWORD: ${{ secrets.APPLE_CERT_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
run: ./build/macOsSign/signMacOsBinary.sh
run: ./build/macOsSign/signMacOsBinary.sh

- name: Upload Artifact
- uses: actions/upload-artifact@v4
with:
name: jfrog-cli-${{ matrix.os }}
# A file, directory or wildcard pattern that describes what to upload
# Required.
path: ./jfrog-cli
retention-days: 1

0 comments on commit f4f78e1

Please sign in to comment.