Skip to content

update: ci

update: ci #7

Workflow file for this run

name: Publish Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
packages: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body_path: ./CHANGELOG.md
upload-assets:
strategy:
matrix:
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-unknown-linux-musl
os: ubuntu-latest
- target: x86_64-pc-windows-gnu
os: windows-latest
- target: x86_64-apple-darwin
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: rss2pan
target: ${{ matrix.target }}
tar: unix
zip: windows
# checksum: sha256
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.ref_name }}
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: rss2pan
target: ${{ matrix.target }}
tar: unix
zip: windows
# checksum: sha256
token: ${{ secrets.GITHUB_TOKEN }}