mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-02 23:31:43 +01:00
remove eu-strip
This commit is contained in:
parent
2a1f8aa4d4
commit
33fd18c0c6
20
.github/workflows/build-helper.yml
vendored
20
.github/workflows/build-helper.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
|||||||
wavesrv/go.sum
|
wavesrv/go.sum
|
||||||
waveshell/go.sum
|
waveshell/go.sum
|
||||||
scripthaus/go.sum
|
scripthaus/go.sum
|
||||||
- id: install-scripthaus
|
- name: Install Scripthaus
|
||||||
run: |
|
run: |
|
||||||
go work use ./scripthaus;
|
go work use ./scripthaus;
|
||||||
cd scripthaus;
|
cd scripthaus;
|
||||||
@ -46,19 +46,20 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{env.NODE_VERSION}}
|
node-version: ${{env.NODE_VERSION}}
|
||||||
cache: "yarn"
|
cache: "yarn"
|
||||||
- id: set-version
|
- name: Set Version
|
||||||
|
id: set-version
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(node -e 'console.log(require("./version.js"))')
|
VERSION=$(node -e 'console.log(require("./version.js"))')
|
||||||
echo "WAVETERM_VERSION=${VERSION}" >> "$GITHUB_OUTPUT"
|
echo "WAVETERM_VERSION=${VERSION}" >> "$GITHUB_OUTPUT"
|
||||||
- id: install-linux-build-deps
|
- name: Install Linux Build Dependencies
|
||||||
if: matrix.platform == 'linux'
|
if: matrix.platform == 'linux'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install rpm flatpak flatpak-builder eu-strip snapcraft
|
sudo apt-get install rpm flatpak flatpak-builder snapcraft
|
||||||
- run: yarn --frozen-lockfile
|
- run: yarn --frozen-lockfile
|
||||||
- id: run-build-package
|
- name: Build
|
||||||
run: ./scripthaus/scripthaus run ${{ matrix.scripthaus }}
|
run: ./scripthaus/scripthaus run ${{ matrix.scripthaus }}
|
||||||
- id: tree
|
- id: Tree
|
||||||
run: tree out/make
|
run: tree out/make
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@ -74,12 +75,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
path: buildtemp
|
path: buildtemp
|
||||||
- id: set-version-txt
|
- name: Set `version.txt`
|
||||||
run: |
|
run: |
|
||||||
echo "${{ needs.runbuild.outputs.WAVETERM_VERSION }}" > buildtemp/version.txt
|
echo "${{ needs.runbuild.outputs.WAVETERM_VERSION }}" > buildtemp/version.txt
|
||||||
- id: zip-builds
|
- name: Zip Builds
|
||||||
run: (cd buildtemp; zip ../waveterm-builds.zip *)
|
run: (cd buildtemp; zip ../waveterm-builds.zip *)
|
||||||
- run: aws s3 cp waveterm-builds.zip s3://waveterm-github-artifacts/
|
- name: Upload to S3
|
||||||
|
run: aws s3 cp waveterm-builds.zip s3://waveterm-github-artifacts/
|
||||||
env:
|
env:
|
||||||
AWS_ACCESS_KEY_ID: "${{ secrets.S3_USERID }}"
|
AWS_ACCESS_KEY_ID: "${{ secrets.S3_USERID }}"
|
||||||
AWS_SECRET_ACCESS_KEY: "${{ secrets.S3_SECRETKEY }}"
|
AWS_SECRET_ACCESS_KEY: "${{ secrets.S3_SECRETKEY }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user