Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
moklidia committed Jul 20, 2023
1 parent 2ee47dc commit a5fe6f7
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/create-github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,31 +24,33 @@ jobs:
steps:
- name: Check env
run: echo ${{ env.DARWIN_BIN_PATH }}
- name: 'Install Linux dependencies'
if: matrix.os == 'ubuntu-20.04'
run: |
sudo apt update
sudo apt install -y build-essential squashfs-tools curl gcc make bison
# - name: 'Install Linux dependencies'
# if: matrix.os == 'ubuntu-20.04'
# run: |
# sudo apt update
# sudo apt install -y build-essential squashfs-tools curl gcc make bison
- name: 'Install MacOs dependencies'
if: matrix.os == 'macos-latest'
run: |
brew update --auto-update
brew install squashfs bison
- uses: actions/checkout@v2
- name: 'Set up Ruby'
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.3'
- name: 'Create Linux Bin'
if: matrix.os == 'ubuntu-20.04'
run: |
wget https://github.com/pmq20/ruby-packer/releases/download/linux-x64/rubyc
chmod +x ./rubyc
./rubyc --openssl-dir=/etc/ssl ./uffizzi --output=${{ env.LINUX_BIN_PATH }}
# - name: 'Create Linux Bin'
# if: matrix.os == 'ubuntu-20.04'
# run: |
# wget https://github.com/pmq20/ruby-packer/releases/download/linux-x64/rubyc
# chmod +x ./rubyc
# ./rubyc --openssl-dir=/etc/ssl ./uffizzi --output=${{ env.LINUX_BIN_PATH }}
- name: 'Create Darwin Bin'
if: matrix.os == 'macos-latest'
run: |
wget https://github.com/pmq20/ruby-packer/releases/download/darwin-x64/rubyc
chmod +x ./rubyc
ls /etc
./rubyc --openssl-dir=/etc/ssl ./uffizzi --output=${{ env.DARWIN_BIN_PATH }}
- name: Upload Artifacts
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit a5fe6f7

Please sign in to comment.