This commit is contained in:
@@ -0,0 +1,27 @@
|
|||||||
|
name: Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '20[0-9][0-9].[0-9][0-9].[0-9][0-9]'
|
||||||
|
- '20[0-9][0-9].[0-9][0-9].[0-9][0-9].[0-9]+'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
code: read
|
||||||
|
releases: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ffmini_macos_arm64
|
||||||
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||||
|
- name: Build and test extension
|
||||||
|
run: make -C gnome-user-switcher-extension test
|
||||||
|
- name: Publish release
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
run: |
|
||||||
|
export XDG_CONFIG_HOME="$RUNNER_TEMP/tea"
|
||||||
|
tea login add --name actions --url "${{ gitea.server_url }}" --token "$GITEA_TOKEN" --no-version-check
|
||||||
|
tea releases create --login actions --repo "${{ gitea.repository }}" --tag "${{ gitea.ref_name }}" --target "${{ gitea.sha }}" --title "${{ gitea.ref_name }}" --asset gnome-user-switcher-extension/dist/user-switcher@felixfoertsch.de.shell-extension.zip
|
||||||
BIN
Binary file not shown.
@@ -4,7 +4,8 @@
|
|||||||
"description": "Adds a top bar user menu for fast user switching.",
|
"description": "Adds a top bar user menu for fast user switching.",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"shell-version": [
|
"shell-version": [
|
||||||
"49"
|
"49",
|
||||||
|
"50"
|
||||||
],
|
],
|
||||||
"gettext-domain": "user-switcher",
|
"gettext-domain": "user-switcher",
|
||||||
"url": "https://github.com/felixfoertsch/gnome-user-switcher"
|
"url": "https://github.com/felixfoertsch/gnome-user-switcher"
|
||||||
|
|||||||
Reference in New Issue
Block a user