Skip to content

Commit

Permalink
added workflows from ttysvr, disabled itchio
Browse files Browse the repository at this point in the history
  • Loading branch information
cxreiff committed Oct 12, 2024
1 parent 8ca0b0a commit 61ea0bf
Show file tree
Hide file tree
Showing 7 changed files with 415 additions and 110 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: checks

on:
push:
branches:
- main
pull_request:

jobs:
check:
permissions:
checks: write
uses: cxreiff/github_workflows/.github/workflows/rust_checks.yml@main
97 changes: 0 additions & 97 deletions .github/workflows/ci.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
name: release
name: itchio

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"
workflow_dispatch:
inputs:
version:
description: 'version number in the format `v1.2.3`'
required: true
type: string
on:
workflow_run:
workflows: ['release']
types: [completed]
branches:
- 'main'

env:
# The base filename of the binary produced by `cargo build`.
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: release_plz

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- main

jobs:
release:
uses: cxreiff/github_workflows/.github/workflows/rust_release.yml@main
permissions:
pull-requests: write
contents: write
secrets:
RELEASE_PLZ_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
with:
linux_dependencies: libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
Loading

0 comments on commit 61ea0bf

Please sign in to comment.