Skip to content

GA: use self-hosted runner #19

GA: use self-hosted runner

GA: use self-hosted runner #19

Workflow file for this run

on:
push:
#tags:
#- 'v*'
branch:
- ga
jobs:
ubuntu22-amd64:
runs-on: self-hosted
env:
ImageOS: ubuntu22
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: erlef/setup-beam@v1
with:
otp-version: '24'
rebar3-version: '3.16.1'
- run: |
rebar3 as prod release
strip _build/prod/rel/orc/erts-*/bin/* || true
tar jcf orc-${GITHUB_REF_NAME#v}-ubuntu-jammy-x86_64.tar.bz2 -C _build/prod/rel/ orc
md5sum orc-${GITHUB_REF_NAME#v}-ubuntu-jammy-x86_64.tar.bz2 | cut -f1 -d ' ' > orc-${GITHUB_REF_NAME#v}-ubuntu-jammy-x86_64.md5sum
- name: release
uses: softprops/action-gh-release@v1
with:
files: |
orc-${GITHUB_REF_NAME#v}-ubuntu-jammy-x86_64.tar.bz2
orc-${GITHUB_REF_NAME#v}-ubuntu-jammy-x86_64.md5sum