mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
Update openwrt.yml
This commit is contained in:
parent
b809e6f750
commit
016a43ff89
43
.github/workflows/openwrt.yml
vendored
43
.github/workflows/openwrt.yml
vendored
@ -50,36 +50,21 @@ jobs:
|
|||||||
internal
|
internal
|
||||||
outPath: server.tar.gz
|
outPath: server.tar.gz
|
||||||
|
|
||||||
- name: Create Release
|
- name: Upload Webapp to Tag
|
||||||
id: create_release
|
uses: svenstaro/upload-release-action@v2
|
||||||
uses: actions/create-release@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.PUB_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
tag_name: v1.0.1
|
repo_token: ${{ secrets.PUB_TOKEN }}
|
||||||
release_name: WebApp & Server Bundle
|
file: webapp.tar.gz
|
||||||
draft: false
|
tag: v1.1.11
|
||||||
prerelease: false
|
overwrite: true
|
||||||
|
file_glob: true
|
||||||
|
|
||||||
- name: Upload Webapp Asset
|
- name: Upload Server to Tag
|
||||||
id: upload-webapp
|
uses: svenstaro/upload-release-action@v2
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.PUB_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
repo_token: ${{ secrets.PUB_TOKEN }}
|
||||||
asset_path: webapp.tar.gz
|
file: server.tar.gz
|
||||||
asset_name: webapp.tar.gz
|
tag: v1.1.11
|
||||||
asset_content_type: application/zip
|
overwrite: true
|
||||||
|
file_glob: true
|
||||||
- name: Upload Server Asset
|
|
||||||
id: upload-server
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.PUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
|
||||||
asset_path: server.tar.gz
|
|
||||||
asset_name: server.tar.gz
|
|
||||||
asset_content_type: application/zip
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user