Skip to content

Commit

Permalink
Merge pull request #50 from ivan-hc/dev
Browse files Browse the repository at this point in the history
* Add files via upload

* Update CI.yml
  • Loading branch information
ivan-hc authored Jan 2, 2025
2 parents cecd8f8 + 7133976 commit 364f116
Show file tree
Hide file tree
Showing 4 changed files with 1,491 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ jobs:
run: |
sudo apt install desktop-file-utils
APP=steam
wget -q https://raw.githubusercontent.com/ivan-hc/Conty/master/create-conty.sh
wget -q https://raw.githubusercontent.com/ivan-hc/Conty/master/conty-start.sh
wget -q https://github.com/Samueru-sama/Conty/releases/download/utils/utils_dwarfs.tar.gz
wget -q https://github.com/ivan-hc/Steam-appimage/releases/download/utils/utils_dwarfs.tar.gz
chmod +x create-arch-bootstrap.sh create-conty.sh "$APP"-conty-builder.sh
sudo ./create-arch-bootstrap.sh && ./create-conty.sh
mkdir -p tmp/"$APP".AppDir
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/utils.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Utils CI
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true

on:
schedule:
- cron: '0 12 1 * *'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
container: archlinux:latest
steps:
- uses: actions/checkout@v4

- name: build
if: always()
run: |
chmod +x create-utils.sh
pacman -Syu --noconfirm --needed base-devel gawk grep lz4 zstd wget \
curl gcc make autoconf libtool pkgconf libcap fuse2 lzo patch \
xz zlib findutils openssl jemalloc xxhash boost lz4 xz \
zstd libarchive libunwind google-glog gtest fmt gflags \
double-conversion cmake ruby-ronn libevent libdwarf git \
clang libsodium liburing libaio musl kernel-headers-musl utf8cpp \
chrono-date python python-mistletoe range-v3 nlohmann-json
build_dwarfs=true ./create-utils.sh
mkdir dist
mv ./*.tar.gz dist/
- name: Upload artifact
uses: actions/[email protected]
with:
name: Utils
path: 'dist'

release:
needs: [build]
permissions: write-all
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]
with:
name: Utils

- name: release
uses: marvinpinto/action-automatic-releases@latest
with:
title: Utils
automatic_release_tag: utils
prerelease: true
draft: false
files: |
utils_dwarfs.tar.gz
repo_token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 364f116

Please sign in to comment.