mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
beep boop
This commit is contained in:
parent
a30578cb32
commit
0c2a19a544
1 changed files with 4 additions and 4 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\"
|
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\"
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
dotnet build --no-restore --configuration Release --nologo -p:Version=${{ github.ref }} -p:FileVersion=${{ github.ref }}
|
dotnet build --no-restore --configuration Release --nologo -p:Version=('${{ github.ref }}' -replace 'refs/tags/','') -p:FileVersion=('${{ github.ref }}' -replace 'refs/tags/','')
|
||||||
- name: write version into json
|
- name: write version into json
|
||||||
run: |
|
run: |
|
||||||
$path = './Penumbra/bin/Release/net472/Penumbra.json'
|
$path = './Penumbra/bin/Release/net472/Penumbra.json'
|
||||||
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
$content = $content -replace '1.0.0.0',('${{ github.ref }}' -replace 'refs/tags/','')
|
$content = $content -replace '1.0.0.0',('${{ github.ref }}' -replace 'refs/tags/','')
|
||||||
set-content -Path $path -Value $content
|
set-content -Path $path -Value $content
|
||||||
- name: Archive
|
- name: Archive
|
||||||
run: Compress-Archive -Path Penumbra/bin/Release/net472/* -DestinationPath Penumbra.${{ github.ref }}.zip
|
run: Compress-Archive -Path Penumbra/bin/Release/net472/* -DestinationPath Penumbra.('${{ github.ref }}' -replace 'refs/tags/','').zip
|
||||||
- name: Upload a Build Artifact
|
- name: Upload a Build Artifact
|
||||||
uses: actions/upload-artifact@v2.2.1
|
uses: actions/upload-artifact@v2.2.1
|
||||||
with:
|
with:
|
||||||
|
|
@ -53,6 +53,6 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
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
|
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: ./Penumbra.${{ github.ref }}.zip
|
asset_path: ./Penumbra.('${{ github.ref }}' -replace 'refs/tags/','').zip
|
||||||
asset_name: Penumbra.${{ github.ref }}.zip
|
asset_name: Penumbra.('${{ github.ref }}' -replace 'refs/tags/','').zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
Loading…
Add table
Add a link
Reference in a new issue