mirror of
https://github.com/bitwarden/server.git
synced 2025-05-01 09:42:19 -05:00
Test
This commit is contained in:
parent
aa62e6f10d
commit
4a00dfc3ce
32
.github/workflows/build.yml
vendored
32
.github/workflows/build.yml
vendored
@ -306,24 +306,28 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.image-name.outputs.name }}
|
tags: ${{ steps.image-name.outputs.name }}
|
||||||
|
|
||||||
- name: TEST STEP
|
- name: Zip project
|
||||||
|
working-directory: ${{ matrix.base_path }}/${{ matrix.project_name }}
|
||||||
run: |
|
run: |
|
||||||
mkdir linux-amd64
|
mkdir build
|
||||||
docker run --rm --platform linux/amd64 --volume $(pwd):/temp --entrypoint bash \
|
docker run --rm --platform linux/amd64 --volume $(pwd)/build:/temp --entrypoint bash \
|
||||||
${{ steps.image-name.outputs.name }} -c "cp -r ./ /temp/linux-amd64"
|
${{ steps.image-name.outputs.name }} -c "cp -r ./ /temp"
|
||||||
ls -alh
|
ls -alh
|
||||||
ls -alh linux-amd64
|
ls -alh build
|
||||||
file linux-amd64/${{ matrix.project_name }}.dll
|
|
||||||
|
|
||||||
mkdir linux-arm
|
cd build
|
||||||
docker run --rm --platform linux/arm --volume $(pwd):/temp --entrypoint bash \
|
zip -r ${{ matrix.project_name }}.zip .
|
||||||
${{ steps.image-name.outputs.name }} -c "cp -r ./ /temp/linux-arm"
|
mv ${{ matrix.project_name }}.zip ../../../
|
||||||
file linux-arm/${{ matrix.project_name }}.dll
|
|
||||||
|
|
||||||
mkdir linux-arm64
|
pwd
|
||||||
docker run --rm --platform linux/arm64 --volume $(pwd):/temp --entrypoint bash \
|
ls -atlh ../../../
|
||||||
${{ steps.image-name.outputs.name }} -c "cp -r ./ /temp/linux-arm64"
|
|
||||||
file linux-arm64/${{ matrix.project_name }}.dll
|
- name: Upload project artifact
|
||||||
|
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||||
|
with:
|
||||||
|
name: ${{ matrix.project_name }}.zip
|
||||||
|
path: ${{ matrix.base_path }}/${{ matrix.project_name }}/${{ matrix.project_name }}.zip
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Log out of Docker
|
- name: Log out of Docker
|
||||||
run: docker logout
|
run: docker logout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user