feat: sample #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu arm64 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
PKG_DATE: 20240627 | |
PLATFORM: linux | |
ARCHITECTURES: arm64 | |
jobs: | |
make-linux-arm64: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
ruby-version: [3.3.3] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Rubygems | |
run: | | |
echo "GEM_HOME=$HOME/.gem" >> $GITHUB_ENV | |
echo "PATH=$HOME/.gem/bin:$PATH" >> $GITHUB_ENV | |
- name: build amd64 | |
run: | | |
ls -al | |
gem install rake --user-install | |
rake build | |
- name: "Upload Artifact- linux amd64" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: app-${{ env.PKG_DATE }}-${{env.PLATFORM}}-${{env.ARCHITECTURES}}.tar.gz | |
path: app.tar.gz |