Skip to content

Build tgfocus-gittag-x64-linux-musl #20

Build tgfocus-gittag-x64-linux-musl

Build tgfocus-gittag-x64-linux-musl #20

name: build-tgfocus-gittag-x64-linux-musl
run-name: Build tgfocus-gittag-x64-linux-musl
on:
push:
branches:
- master
jobs:
job1:
if: contains(github.event.head_commit.message, 'build-tgfocus-gittag-x64-linux-musl') == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: master
- name: Set env
run: echo "CURR_DATE=$(date +'%Y%m%d')" >> "$GITHUB_ENV"
- name: Set env
run: echo "PICK_TAG=$(cat tgfocus-gittag)-x64-linux-musl" >> "$GITHUB_ENV"
- name: Set env
run: echo "APP_NAME=tg-focus" >> "$GITHUB_ENV"
- name: Install Deps
run: sudo apt-get update && sudo apt-get install podman buildah -y
- run: df -h
- name: Build
run: bash tgfocus-gittag-x64-linux-musl.bash
- run: buildah ps
- run: df -h
- uses: actions/upload-artifact@v3
with:
name: ${{ env.APP_NAME }}-${{ env.PICK_TAG }}.tar
path: ${{ env.APP_NAME }}-${{ env.PICK_TAG }}.tar
- uses: actions/upload-artifact@v3
with:
name: ${{ env.APP_NAME }}-${{ env.PICK_TAG }}.json
path: ${{ env.APP_NAME }}-${{ env.PICK_TAG }}.json
- uses: actions/upload-artifact@v3
with:
name: CHECKSUMS
path: CHECKSUMS