Update openwrt.yml

This commit is contained in:
Pierre Balzack 2024-01-12 13:57:20 -08:00 committed by GitHub
parent b809e6f750
commit 016a43ff89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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