Skip to content

Commit

Permalink
wip pipeline artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
sonalys committed Feb 7, 2024
1 parent fb2b78f commit f20aaa3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/go.yml → .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go
name: Build

on:
push:
Expand Down Expand Up @@ -55,6 +55,12 @@ jobs:
- name: Build
run: make build

- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: animeman
path: bin/animeman

- name: Build and push
uses: docker/build-push-action@v5
with:
Expand All @@ -71,11 +77,10 @@ jobs:
permissions:
contents: write
steps:
- run: ls build
- name: Create Github Release
uses: ncipollo/release-action@v1
with:
artifacts: "build/bin/*"
artifacts: "bin/animeman"
body: ${{ env.TAG_VERSION }}
token: ${{ secrets.GITHUB_TOKEN }}
generateReleaseNotes: true
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Animeman

[![Build](https://github.com/sonalys/animeman/actions/workflows/Build.yml/badge.svg)](https://github.com/sonalys/animeman/actions/workflows/Build.yml)

Animeman is a service for fetching your MyAnimeList currently watching animes from Nyaa.si RSS feed.

## How does it work?
Expand Down

0 comments on commit f20aaa3

Please sign in to comment.