Skip to content

Commit 31f03a3

Browse files
committed
ci:rename rust.yml to build.yml && misc
1 parent 8988170 commit 31f03a3

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/rust.yml renamed to .github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Build
2020
run: cargo build --verbose
2121
- name: Run tests

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Build and Release Binaries
22

33
on:
4-
release:
5-
types: [created]
4+
push:
5+
tags:
6+
- 'v*.*.*'
67

78
jobs:
89
build:
@@ -75,9 +76,9 @@ jobs:
7576
with:
7677
tag_name: ${{ github.ref_name }}
7778
name: Release ${{ github.ref_name }}
78-
draft: false
79+
draft: true
7980
prerelease: false
8081
files: |
81-
artifacts/aw-watcher-lastfm-linux/aw-watcher-lastfm-linux
82-
artifacts/aw-watcher-lastfm-macos/aw-watcher-lastfm-macos
83-
artifacts/aw-watcher-lastfm-windows.exe/aw-watcher-lastfm-windows.exe
82+
aw-watcher-lastfm-linux.zip
83+
aw-watcher-lastfm-macos.zip
84+
aw-watcher-lastfm-windows.zip

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Activitywatch watcher for last.fm
2-
[![Build](https://github.com/brayo-pip/aw-watcher-lastfm/actions/workflows/rust.yml/badge.svg?branch=main)](https://github.com/brayo-pip/aw-watcher-lastfm/actions/workflows/rust.yml) [![dependency status](https://deps.rs/repo/github/0xbrayo/aw-watcher-lastfm/status.svg)](https://deps.rs/repo/github/0xbrayo/aw-watcher-lastfm)
2+
[![Build](https://github.com/brayo-pip/aw-watcher-lastfm/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/brayo-pip/aw-watcher-lastfm/actions/workflows/rust.yml) [![dependency status](https://deps.rs/repo/github/0xbrayo/aw-watcher-lastfm/status.svg)](https://deps.rs/repo/github/0xbrayo/aw-watcher-lastfm)
33

44
This is a simple activitywatch watcher for last.fm scrobble data. It uses the last.fm API to fetch scrobbles and sends them to the activitywatch server.
55

0 commit comments

Comments
 (0)