Skip to content

gh-actions: fix some of the warnings #105

gh-actions: fix some of the warnings

gh-actions: fix some of the warnings #105

Workflow file for this run

name: Build
on:
push:
branches:
- 'master'
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- system: archlinux
arch: x86_64
icon: '🟦'
- system: windows
arch: i686
icon: '⬛'
- system: windows
arch: x86_64
icon: '🟦'
name: 🚧${{ matrix.icon }} ${{ matrix.system }} (${{ matrix.arch }})
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/prepare
with:
system: ${{ matrix.system }}
arch: ${{ matrix.arch }}
- uses: ./.github/actions/compile
with:
system: ${{ matrix.system }}
arch: ${{ matrix.arch }}
- uses: ./.github/actions/upload
if: ${{ !env.ACT }}
with:
system: ${{ matrix.system }}
arch: ${{ matrix.arch }}
create-release:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rm -rf *
- uses: actions/download-artifact@v4
with:
pattern: xava-*
- uses: actions/download-artifact@v4
with:
name: version.txt
- name: Show artifact files
run: |
ls -R
- name: Read version file
run: |
cat version.txt
VER=$(cat version.txt)
echo "VERSION=$VER" >> $GITHUB_ENV
- uses: "marvinpinto/action-automatic-releases@latest"
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
with:
repo_token: "${{ secrets.GH_ACCESS_TOKEN }}"
automatic_release_tag: ${{ env.VERSION }}
prerelease: true
title: "Development Build"
files: |
xava-installer-i686.exe
xava-installer-x86_64.exe
xava-x86_64.AppImage