mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
test
This commit is contained in:
parent
124ddcca96
commit
b3cf6cde4f
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@ -9,7 +9,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
branches: [ master, appimage ]
|
branches: [ master, test ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
# # Allows you to run this workflow manually from the Actions tab
|
# # Allows you to run this workflow manually from the Actions tab
|
||||||
@ -94,9 +94,26 @@ jobs:
|
|||||||
name: 'release-${{ steps.tag.outputs.tag }}'
|
name: 'release-${{ steps.tag.outputs.tag }}'
|
||||||
|
|
||||||
- name: Create release and upload artifacts
|
- name: Create release and upload artifacts
|
||||||
|
if: ! startsWith(github.ref, 'refs/tags/')
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
|
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
|
||||||
chmod +x pyuploadtool-x86_64.AppImage
|
chmod +x pyuploadtool-x86_64.AppImage
|
||||||
./pyuploadtool-x86_64.AppImage WeChat*.AppImage *.tar.gz
|
./pyuploadtool-x86_64.AppImage WeChat*.AppImage *.tar.gz
|
||||||
|
|
||||||
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
with:
|
||||||
|
# note you'll typically need to create a personal access token
|
||||||
|
# with permissions to create releases in the other repo
|
||||||
|
name: ${{ steps.tag.outputs.name }}
|
||||||
|
tag_name: ${{ steps.tag.outputs.tag }}
|
||||||
|
files: |
|
||||||
|
${{ env.name }}.tar.gz
|
||||||
|
compiler.tar.gz
|
||||||
|
nodegit.tar.gz
|
||||||
|
*.AppImage
|
||||||
|
env:
|
||||||
|
name: 'release-${{ steps.tag.outputs.tag }}'
|
Loading…
x
Reference in New Issue
Block a user