Skip to content

Commit

Permalink
upload built artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
tushar-deepsource committed Oct 12, 2024
1 parent 12dd27f commit 3057c95
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,13 @@ jobs:

- name: Run linux build
run: ./linux-build.sh

- name: Create tar ball
run: |
tar -czf "$HOME/${{ matrix.output }}" $HOME/rubies/ruby-3.2
- name: Upload articact
uses: actions/upload-artifact@master
with:
name: ${{ matrix.output }}
path: $HOME/${{ matrix.output }}
18 changes: 16 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,24 @@ jobs:
fail-fast: false
matrix:
include:
- { name: MacOS-intel, os: macos-13 }
- { name: MacOS-M1, os: macos-14 }
- {
name: MacOS-intel,
os: macos-13,
output: "ruby-3.2-macos-intel.tar.gz",
}
- { name: MacOS-M1, os: macos-14, output: "ruby-3.2-macos-m1.tar.gz" }
steps:
- uses: actions/checkout@v3

- name: Run MacOS build
run: ./macos-build.sh

- name: Create tar ball
run: |
tar -czf "$HOME/${{ matrix.output }}" $HOME/rubies/ruby-3.2
- name: Upload articact
uses: actions/upload-artifact@master
with:
name: ${{ matrix.output }}
path: $HOME/${{ matrix.output }}

0 comments on commit 3057c95

Please sign in to comment.