Skip to content

feat: app icons, use GITHUB_TOKEN #5

feat: app icons, use GITHUB_TOKEN

feat: app icons, use GITHUB_TOKEN #5

Workflow file for this run

name: Publish
on:
push:
tags:
- "v*"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
package:
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest] # no macos-latest yet
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- run: cargo +nightly install cargo-packager --locked
- run: cargo +nightly release
- name: release
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/discord-modloader_*
tag: ${{ github.ref }}
overwrite: true
file_glob: true
draft: true
prerelease: ${{ contains(github.ref, 'beta') }}