Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #2

Merged
merged 8 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 5 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name: Release

on:
push:
branches: [main]
release:
types: [published]

permissions:
contents: write
Expand Down Expand Up @@ -38,26 +38,10 @@ jobs:
cp -r ./dist/app ./assets ./config.json .artie
zip -r Artie.zip .artie ./Artie\ Scraper.sh

- name: Get HEAD commit hash
id: get_commit
run: echo "::set-output name=commit_hash::$"

- name: Upload Artie.zip
uses: actions/upload-artifact@v3
with:
name: Artie
path: Artie.zip

- name: Generate release tag
id: tag
run: |
echo "::set-output name=release_tag::Artie_$(date +"%Y.%m.%d_%H-%M")"

- name: Create GitHub Release
uses: softprops/action-gh-release@v2
- name: Upload assets
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{startsWith(github.ref, 'refs/tags/') }}
with:
files: Artie.zip
tag_name: ${{ steps.tag.outputs.release_tag }}
release_name: Release ${{ steps.get_commit.outputs.commit_hash }}
3 changes: 2 additions & 1 deletion Artie Scraper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ cd "$ARTIE_DIR" || exit
echo "app" >/tmp/fg_proc

program="./app"

log_file="${ARTIE_DIR}/log.txt"

>"$log_file"

if ! $program >"$log_file" 2>&1; then
echo "Error: Failed to execute $program"
exit 1
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Artie is a simple art scraper designed for Anbernic devices running MuOS. It helps you download and manage artwork for your ROMs, enhancing your gaming experience with beautiful visuals.

![Artie Screenshot 1](artie1.png)
![Artie Screenshot 2](artie2.png)

## Features

- Easy-to-use interface
Expand Down
Binary file added artie1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artie2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading