Testv2 #11
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: Run Craft Commands | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Craft environment and run Craft command | |
run: | | |
source /home/kolf/CraftRoot/craft/craftenv.sh && cs kolf && git pull && craft --compile --install --qmerge kolf && craft --package kolf | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: kolf-build-latest-appImage | |
path: /home/kolf/CraftRoot/tmp/kolf-23.08.4-linux-gcc-x86_64.AppImage | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: /home/kolf/CraftRoot/tmp/kolf-23.08.4-linux-gcc-x86_64.AppImage | |