ci: Disable snap again

This commit is contained in:
Christian Pauly 2021-05-01 15:50:43 +02:00
parent e74b102ecf
commit 1521b7397b
1 changed files with 27 additions and 27 deletions

View File

@ -177,34 +177,34 @@ build_linux_arm64:
paths: paths:
- build/linux/arm64/release/bundle/ - build/linux/arm64/release/bundle/
snap:edge: #snap:edge:
stage: release # stage: release
image: "snapcore/snapcraft" # image: "snapcore/snapcraft"
variables: # variables:
SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE} # SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
only: [main] # only: [main]
before_script: [sudo apt install git -y] # before_script: [sudo apt install git -y]
script: [./scripts/publish-snap-edge.sh] # script: [./scripts/publish-snap-edge.sh]
needs: ["build_linux_x86"] # needs: ["build_linux_x86"]
dependencies: ["build_linux_x86"] # dependencies: ["build_linux_x86"]
artifacts: # artifacts:
paths: # paths:
- "./*.snap" # - "./*.snap"
when: on_success # when: on_success
snap:publish: #snap:publish:
stage: release # stage: release
image: "snapcore/snapcraft" # image: "snapcore/snapcraft"
variables: # variables:
SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE} # SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
only: [tags] # only: [tags]
before_script: [sudo apt install git -y] # before_script: [sudo apt install git -y]
script: [./scripts/publish-snap-stable.sh] # script: [./scripts/publish-snap-stable.sh]
needs: ["build_linux_x86"] # needs: ["build_linux_x86"]
artifacts: # artifacts:
paths: # paths:
- "./*.snap" # - "./*.snap"
when: on_success # when: on_success
update-dependencies: update-dependencies:
stage: coverage stage: coverage