2
0
mirror of https://github.com/Revertron/Alfis synced 2024-11-03 15:40:19 +00:00

Update rust_create_release.yml

This commit is contained in:
Revertron 2021-02-23 02:06:35 +01:00 committed by GitHub
parent f2482a80c0
commit ce0115bd7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,10 @@ jobs:
windows: windows:
name: Create windows build name: Create windows build
runs-on: windows-latest runs-on: windows-latest
defaults:
run:
shell: bash
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -43,7 +47,7 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.make_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 upload_url: ${{ jobs.make_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: target/release/alfis.exe asset_path: target/release/alfis.exe
asset_name: alfis_${GITHUB_REF##*/}.exe asset_name: alfis_${GITHUB_REF##*/}.exe
asset_content_type: application/octet-stream asset_content_type: application/octet-stream