Update snapcraft.yaml stable to 1.0rc1 for testing #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Release | |
on: | |
push: | |
branches: | |
- stable | |
jobs: | |
publish_amd64: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install snapcraft | |
run: sudo snap install snapcraft --classic | |
- name: build snap | |
run: | | |
sudo snapcraft --destructive-mode | |
sudo rm -rf $HOME/.config/snapcraft | |
- name: publish snap | |
env: | |
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }} | |
run: snapcraft upload --release=candidate freecad*.snap |