Clean up workspace usage

This commit is contained in:
Ian Davis 2022-11-07 16:09:30 +00:00
parent 75f9f72147
commit 2895dcfa98
2 changed files with 12 additions and 20 deletions

View File

@ -414,7 +414,7 @@ jobs:
steps: steps:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: "." at: /tmp/workspace
- run: - run:
name: Update Go name: Update Go
command: | command: |
@ -449,13 +449,11 @@ jobs:
command: | command: |
sed -i "s/version: latest/version: ${CIRCLE_TAG:-latest}/" AppImageBuilder.yml sed -i "s/version: latest/version: ${CIRCLE_TAG:-latest}/" AppImageBuilder.yml
make appimage make appimage
- run: - run: |
name: prepare workspace mkdir -p /tmp/workspace/appimage && \
command: | mv Lotus-*.AppImage /tmp/workspace/appimage/
mkdir appimage
mv Lotus-*.AppImage appimage
- persist_to_workspace: - persist_to_workspace:
root: "." root: /tmp/workspace
paths: paths:
- appimage - appimage
@ -553,7 +551,7 @@ jobs:
- checkout - checkout
- install_ipfs - install_ipfs
- attach_workspace: - attach_workspace:
at: "." at: /tmp/workspace
- when: - when:
condition: << parameters.linux >> condition: << parameters.linux >>
steps: steps:
@ -728,8 +726,6 @@ jobs:
name: packer name: packer
steps: steps:
- checkout - checkout
- attach_workspace:
at: "."
- packer_build: - packer_build:
template: tools/packer/lotus-snap.pkr.hcl template: tools/packer/lotus-snap.pkr.hcl
publish-dockerhub: publish-dockerhub:

View File

@ -414,7 +414,7 @@ jobs:
steps: steps:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: "." at: /tmp/workspace
- run: - run:
name: Update Go name: Update Go
command: | command: |
@ -449,13 +449,11 @@ jobs:
command: | command: |
sed -i "s/version: latest/version: ${CIRCLE_TAG:-latest}/" AppImageBuilder.yml sed -i "s/version: latest/version: ${CIRCLE_TAG:-latest}/" AppImageBuilder.yml
make appimage make appimage
- run: - run: |
name: prepare workspace mkdir -p /tmp/workspace/appimage && \
command: | mv Lotus-*.AppImage /tmp/workspace/appimage/
mkdir appimage
mv Lotus-*.AppImage appimage
- persist_to_workspace: - persist_to_workspace:
root: "." root: /tmp/workspace
paths: paths:
- appimage - appimage
@ -553,7 +551,7 @@ jobs:
- checkout - checkout
- install_ipfs - install_ipfs
- attach_workspace: - attach_workspace:
at: "." at: /tmp/workspace
- when: - when:
condition: << parameters.linux >> condition: << parameters.linux >>
steps: steps:
@ -728,8 +726,6 @@ jobs:
name: packer name: packer
steps: steps:
- checkout - checkout
- attach_workspace:
at: "."
- packer_build: - packer_build:
template: tools/packer/lotus-snap.pkr.hcl template: tools/packer/lotus-snap.pkr.hcl
publish-dockerhub: publish-dockerhub: