missed some

This commit is contained in:
Evan Simkowitz 2024-02-29 11:32:30 -08:00
parent e860e330ab
commit 2a1f8aa4d4
No known key found for this signature in database

View File

@ -36,7 +36,8 @@ jobs:
wavesrv/go.sum wavesrv/go.sum
waveshell/go.sum waveshell/go.sum
scripthaus/go.sum scripthaus/go.sum
- run: | - id: install-scripthaus
run: |
go work use ./scripthaus; go work use ./scripthaus;
cd scripthaus; cd scripthaus;
go get ./...; go get ./...;
@ -49,13 +50,16 @@ jobs:
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-rpm - id: install-linux-build-deps
if: matrix.platform == 'linux' if: matrix.platform == 'linux'
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install rpm sudo apt-get install rpm flatpak flatpak-builder eu-strip snapcraft
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- run: ./scripthaus/scripthaus run ${{ matrix.scripthaus }} - id: run-build-package
run: ./scripthaus/scripthaus run ${{ matrix.scripthaus }}
- id: tree
run: tree out/make
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: waveterm-build-${{ matrix.platform }}-${{ matrix.arch }} name: waveterm-build-${{ matrix.platform }}-${{ matrix.arch }}
@ -70,9 +74,11 @@ jobs:
with: with:
merge-multiple: true merge-multiple: true
path: buildtemp path: buildtemp
- run: | - id: set-version-txt
run: |
echo "${{ needs.runbuild.outputs.WAVETERM_VERSION }}" > buildtemp/version.txt echo "${{ needs.runbuild.outputs.WAVETERM_VERSION }}" > buildtemp/version.txt
- run: (cd buildtemp; zip ../waveterm-builds.zip *) - id: zip-builds
run: (cd buildtemp; zip ../waveterm-builds.zip *)
- run: aws s3 cp waveterm-builds.zip s3://waveterm-github-artifacts/ - 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 }}"