Skip to content

Commit

Permalink
Yet another different way to upload release assets
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Dec 30, 2019
1 parent 437ace7 commit 847214c
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 21 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tag_fedora.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: tag_fedora

on:
release:
types:
- created
push:
tags:
- "20*"

jobs:
build:
Expand Down Expand Up @@ -51,8 +51,8 @@ jobs:
run: |
mv ~/rpmbuild/RPMS/*/*.rpm .
- name: Upload Assets
uses: AButler/upload-release-assets@v1.0
uses: softprops/action-gh-release@v1
with:
# allows comma-separated list of case sensitive globs
files: "wezterm-*.rpm"
repo-token: ${{ secrets.GITHUB_TOKEN }}
files: wezterm-*.rpm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19 changes: 12 additions & 7 deletions .github/workflows/tag_posix.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: tag_posix

on:
release:
types:
- created
push:
tags:
- "20*"

jobs:
build:
Expand Down Expand Up @@ -43,8 +43,13 @@ jobs:
cargo build --release --all
bash ci/deploy.sh
- name: Upload Assets
uses: AButler/upload-release-assets@v1.0
uses: softprops/action-gh-release@v1
with:
# allows comma-separated list of case sensitive globs
files: "wezterm-*.deb,WezTerm-*.zip,wezterm-*.xz,wezterm-*.rpm,wezterm-*.tar.gz"
repo-token: ${{ secrets.GITHUB_TOKEN }}
files: |
wezterm-*.rpm
wezterm-*.deb
WezTerm-*.zip
wezterm-*.xz
weztern-*.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19 changes: 12 additions & 7 deletions .github/workflows/tag_win.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: tag_win

on:
release:
types:
- created
push:
tags:
- "20*"

jobs:
build:
Expand Down Expand Up @@ -43,9 +43,14 @@ jobs:
cargo build --release --all
bash ci/deploy.sh
- name: Upload Assets
uses: AButler/upload-release-assets@v1.0
uses: softprops/action-gh-release@v1
with:
# allows comma-separated list of case sensitive globs
files: "wezterm-*.deb,WezTerm-*.zip,wezterm-*.xz,wezterm-*.rpm,wezterm-*.tar.gz"
repo-token: ${{ secrets.GITHUB_TOKEN }}
files: |
wezterm-*.rpm
wezterm-*.deb
WezTerm-*.zip
wezterm-*.xz
weztern-*.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 847214c

Please sign in to comment.