Skip to content

Commit b450f7d

Browse files
committed
chore: Remove snap, appimage and crates.io
1 parent 4014e95 commit b450f7d

File tree

1 file changed

+0
-102
lines changed

1 file changed

+0
-102
lines changed

.github/workflows/cd.yml

Lines changed: 0 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -101,30 +101,6 @@ jobs:
101101
env:
102102
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
103103

104-
publish:
105-
name: Publishing to Cargo
106-
runs-on: ubuntu-latest
107-
steps:
108-
- uses: actions/checkout@master
109-
- uses: actions-rs/toolchain@v1
110-
with:
111-
toolchain: stable
112-
override: true
113-
114-
- name: Build
115-
uses: actions-rs/cargo@v1
116-
with:
117-
command: build
118-
args: --release
119-
120-
- name: Publish
121-
if: startsWith(github.ref, 'refs/tags/')
122-
uses: actions-rs/cargo@v1
123-
with:
124-
command: publish
125-
env:
126-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
127-
128104
homebrew:
129105
name: Bump Homebrew formula
130106
runs-on: macos-latest
@@ -209,84 +185,6 @@ jobs:
209185
- name: Build aur package
210186
run: cargo aur
211187

212-
# appimage:
213-
# name: Publish appimage package
214-
# runs-on: ubuntu-latest
215-
# steps:
216-
# - uses: actions/checkout@v2
217-
# - uses: actions-rs/cargo@v1
218-
# with:
219-
# command: build
220-
# args: --release
221-
# - name: Build AppImage
222-
# run: |
223-
# wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
224-
# chmod +x linuxdeploy-x86_64.AppImage
225-
# mkdir -p AppDir/usr/bin
226-
# cp target/release/taskwarrior-tui AppDir/usr/bin/taskwarrior-tui
227-
# cat <<EOF > AppDir/taskwarrior-tui.desktop
228-
# [Desktop Entry]
229-
# Name=taskwarrior-tui
230-
# Exec=taskwarrior-tui
231-
# Icon=icon
232-
# Type=Application
233-
# Categories=Utility;
234-
# EOF
235-
# wget https://user-images.githubusercontent.com/1813121/97495331-1dda4a80-192d-11eb-94eb-c276f538cfa8.png
236-
# mv 97495331-1dda4a80-192d-11eb-94eb-c276f538cfa8.png AppDir/icon.png
237-
# ./linuxdeploy-x86_64.AppImage -d AppDir/taskwarrior-tui.desktop -i AppDir/icon.png --appdir AppDir --output appimage
238-
# - name: Upload artifacts
239-
# uses: actions/upload-artifact@v2
240-
# with:
241-
# name: taskwarrior-tui
242-
# path: taskwarrior-tui-*.AppImage
243-
# - name: Releasing assets
244-
# if: startsWith(github.ref, 'refs/tags/')
245-
# uses: softprops/action-gh-release@v1
246-
# with:
247-
# files: |
248-
# taskwarrior-tui-*.AppImage
249-
# env:
250-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
251-
252-
snap:
253-
name: Push to snap
254-
runs-on: ubuntu-18.04
255-
steps:
256-
- name: Check out Git repository
257-
uses: actions/checkout@v2
258-
259-
- name: Install Snapcraft
260-
uses: samuelmeuli/action-snapcraft@v1
261-
with:
262-
use_lxd: true
263-
snapcraft_token: ${{ secrets.SNAPCRAFT_TOKEN }}
264-
265-
- name: Install review tools
266-
run: sudo snap install review-tools
267-
268-
- name: Build snap
269-
run: sg lxd -c 'snapcraft --use-lxd'
270-
271-
- name: Upload artifacts
272-
uses: actions/upload-artifact@v2
273-
with:
274-
name: taskwarrior-tui
275-
path: taskwarrior-tui_*.snap
276-
277-
- name: Releasing assets
278-
if: startsWith(github.ref, 'refs/tags/')
279-
uses: softprops/action-gh-release@v1
280-
with:
281-
files: |
282-
taskwarrior-tui_*.snap
283-
env:
284-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
285-
286-
- name: Publish snap
287-
if: startsWith(github.ref, 'refs/tags/')
288-
run: snapcraft upload --release stable ./taskwarrior-tui_*.snap
289-
290188
grcov:
291189
runs-on: ubuntu-latest
292190
env:

0 commit comments

Comments
 (0)