Update .gitlab-ci.yml

This commit is contained in:
Krille Fear 2021-06-16 18:27:54 +00:00
parent 07d4842b28
commit 97d5b0943e

View File

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