Skip to content

Commit

Permalink
feat: testing mac github action
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilmhdh committed Nov 11, 2024
1 parent b6eba4a commit 90de902
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions .github/workflows/release-package-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,26 @@ on:
- "infisical/v*.*.*-postgres"

jobs:
release-amd-deb:
name: Build debian amd package
runs-on: ubuntu-20.04
steps:
- name: Checkout source
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build the debian package
run: make pkg-deb
- name: Copy the pkg from source to local
run: |
container_id=$(docker create infisical-omnibus-ubuntu-builder)
docker cp "$container_id":/omnibus-project/pkg ./pkg
- uses: actions/setup-python@v4
- run: pip install --upgrade cloudsmith-cli
- name: Publish to CloudSmith
run: sh upload_to_cloudsmith.sh
env:
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
# release-amd-deb:
# name: Build debian amd package
# runs-on: ubuntu-20.04
# steps:
# - name: Checkout source
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - name: Build the debian package
# run: make pkg-deb
# - name: Copy the pkg from source to local
# run: |
# container_id=$(docker create infisical-omnibus-ubuntu-builder)
# docker cp "$container_id":/omnibus-project/pkg ./pkg
# - uses: actions/setup-python@v4
# - run: pip install --upgrade cloudsmith-cli
# - name: Publish to CloudSmith
# run: sh upload_to_cloudsmith.sh
# env:
# CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}

release-arm-deb:
name: Build debian arm package
Expand All @@ -38,7 +38,10 @@ jobs:
with:
fetch-depth: 0
- name: Build the debian package
run: make pkg-deb
run: |
brew install docker
colima start
make pkg-deb
- name: Copy the pkg from source to local
run: |
container_id=$(docker create infisical-omnibus-ubuntu-builder)
Expand Down

0 comments on commit 90de902

Please sign in to comment.