Skip to content

Commit

Permalink
release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
reiyw committed Sep 12, 2022
1 parent 35233ce commit da19ff3
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .cargo/config.toml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release

permissions:
contents: write

on:
push:
tags:
- v[0-9]+.*

jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/create-gh-release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

upload-assets:
strategy:
matrix:
include:
- target: armv7-unknown-linux-gnueabihf
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: ssspambot
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit da19ff3

Please sign in to comment.