mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-08 19:38:51 +01:00
Merge branch 'evan/publish-workflow' into evan/flatpak-deb
This commit is contained in:
commit
dcdc9f2b80
23
.github/workflows/publish.yml
vendored
Normal file
23
.github/workflows/publish.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: Publish a new release
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Get the version
|
||||||
|
id: get_version
|
||||||
|
run: |
|
||||||
|
VERSION=$(node -e 'console.log(require("./version.js"))')
|
||||||
|
echo "WAVETERM_VERSION=${VERSION}" >> "$GITHUB_OUTPUT"
|
||||||
|
- name: Copy staged artifacts to the release bucket
|
||||||
|
run: |
|
||||||
|
. ./buildres/publish-from-staging.sh
|
||||||
|
env:
|
||||||
|
AWS_ACCESS_KEY_ID: "${{ secrets.S3_USERID }}"
|
||||||
|
AWS_SECRET_ACCESS_KEY: "${{ secrets.S3_SECRETKEY }}"
|
||||||
|
AWS_DEFAULT_REGION: us-west-2
|
||||||
|
- name: Publish to Ubuntu PPA
|
Loading…
Reference in New Issue
Block a user