mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-15 18:49:21 +00:00
Test publishing using GH actions
This commit is contained in:
7
.github/workflows/publish.yaml
vendored
7
.github/workflows/publish.yaml
vendored
@@ -1,6 +1,7 @@
|
|||||||
name: Build & publish images to the package registry for releases
|
name: Build & publish images to the package registry for releases
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
@@ -10,7 +11,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_element_call:
|
build_element_call:
|
||||||
if: ${{ github.event_name == 'release' }}
|
# if: ${{ github.event_name == 'release' }}
|
||||||
uses: ./.github/workflows/build-element-call.yaml
|
uses: ./.github/workflows/build-element-call.yaml
|
||||||
with:
|
with:
|
||||||
vite_app_version: ${{ github.event.release.tag_name || github.sha }}
|
vite_app_version: ${{ github.event.release.tag_name || github.sha }}
|
||||||
@@ -21,7 +22,7 @@ jobs:
|
|||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
publish_tarball:
|
publish_tarball:
|
||||||
needs: build_element_call
|
needs: build_element_call
|
||||||
if: always()
|
if: false
|
||||||
name: Publish tarball
|
name: Publish tarball
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
@@ -53,7 +54,7 @@ jobs:
|
|||||||
path: "./element-call-*.tar.gz"
|
path: "./element-call-*.tar.gz"
|
||||||
publish_docker:
|
publish_docker:
|
||||||
needs: publish_tarball
|
needs: publish_tarball
|
||||||
if: always()
|
if: false
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
packages: write
|
packages: write
|
||||||
|
|||||||
Reference in New Issue
Block a user