소스 검색

Fix actions.

tags/v4.0.0-beta.1
Luigi Freitas Cruz 4 년 전
부모
커밋
bd24438319
2개의 변경된 파일14개의 추가작업 그리고 4개의 파일을 삭제
  1. +7
    -2
      .github/workflows/release.yml
  2. +7
    -2
      .github/workflows/validate.yml

+ 7
- 2
.github/workflows/release.yml 파일 보기

@@ -21,15 +21,20 @@ jobs:
run: |
docker system prune -af
docker system prune --volumes -f
docker container stop $(docker container ls -aq)
docker container rm $(docker container ls -aq)
docker image prune -af
docker container stop $(docker container ls -aq) || true
docker container rm $(docker container ls -aq) || true
- name: Build project
id: builder
working-directory: ${{ env.working-directory }}
run: |
bash build-docker.sh
echo ::set-output name=filename::$(ls deploy/*.tar.xz | xargs -n 1 basename)
- name: Fix Permissions
id: fix_perm_filename
run: |
chmod a+rw ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
echo ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
- name: Create Release
id: create_release
uses: actions/create-release@v1


+ 7
- 2
.github/workflows/validate.yml 파일 보기

@@ -18,15 +18,20 @@ jobs:
run: |
docker system prune -af
docker system prune --volumes -f
docker container stop $(docker container ls -aq)
docker container rm $(docker container ls -aq)
docker image prune -af
docker container stop $(docker container ls -aq) || true
docker container rm $(docker container ls -aq) || true
- name: Build project
id: builder
working-directory: ${{ env.working-directory }}
run: |
bash build-docker.sh
echo ::set-output name=filename::$(ls deploy/*.tar.xz | xargs -n 1 basename)
- name: Fix Permissions
id: fix_perm_filename
run: |
chmod a+rw ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
echo ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
- uses: actions/upload-artifact@v1
with:
name: ${{ steps.builder.outputs.filename }}


불러오는 중...
취소
저장