This commit is contained in:
@@ -16,6 +16,8 @@ jobs:
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||
- name: Install release tools
|
||||
run: mise install
|
||||
- name: Build and test extension
|
||||
run: make -C gnome-user-switcher-extension test
|
||||
- name: Publish release
|
||||
@@ -23,5 +25,5 @@ jobs:
|
||||
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
|
||||
mise exec -- tea login add --name actions --url "${{ gitea.server_url }}" --token "$GITEA_TOKEN" --no-version-check
|
||||
mise exec -- 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
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
[tools]
|
||||
"aqua:gitea.com/gitea/tea" = "0.15.1"
|
||||
Reference in New Issue
Block a user