Skip to content

Commit

Permalink
LeBron, scream if you love GitHub Actions!
Browse files Browse the repository at this point in the history
  • Loading branch information
regginator committed Oct 2, 2024
1 parent 06fb796 commit 33dd526
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Get version info
id: version_info
run: |
echo "build_version=r${{ github.sha }}" >> $GITHUB_OUTPUT
echo "build_version=r$(git rev-parse --short "${{ github.sha }}")" >> $GITHUB_OUTPUT
shell: bash

- name: Create tag
Expand All @@ -50,7 +50,7 @@ jobs:
name: ${{ steps.version_info.outputs.build_version }}
tag: ${{ steps.version_info.outputs.build_version }}
makeLatest: "true"
generateReleaseNotes: true
omitBody: true
omitBodyDuringUpdate: true
owner: ${{ env.RYUJINX_TARGET_RELEASE_CHANNEL_OWNER }}
repo: ${{ env.RYUJINX_TARGET_RELEASE_CHANNEL_REPO }}
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Get version info
id: version_info
run: |
echo "build_version=r${{ github.sha }}" >> $GITHUB_OUTPUT
echo "build_version=r$(git rev-parse --short "${{ github.sha }}")" >> $GITHUB_OUTPUT
echo "git_short_hash=$(git rev-parse --short "${{ github.sha }}")" >> $GITHUB_OUTPUT
shell: bash

Expand All @@ -98,8 +98,8 @@ jobs:

- name: Publish
run: |
dotnet publish -c Release -r "${{ matrix.platform.name }}" -o ./publish_ava/publish -p:Version="${{ steps.version_info.outputs.build_version }}" -p:SourceRevisionId="${{ steps.version_info.outputs.git_short_hash }}" -p:DebugType=embedded src/Ryujinx --self-contained true
dotnet publish -c Release -r "${{ matrix.platform.name }}" -o ./publish_sdl2_headless/publish -p:Version="${{ steps.version_info.outputs.build_version }}" -p:SourceRevisionId="${{ steps.version_info.outputs.git_short_hash }}" -p:DebugType=embedded src/Ryujinx.Headless.SDL2 --self-contained true
dotnet publish -c Release -r "${{ matrix.platform.name }}" -o ./publish_ava/publish -p:SourceRevisionId="${{ steps.version_info.outputs.git_short_hash }}" -p:DebugType=embedded src/Ryujinx --self-contained true
dotnet publish -c Release -r "${{ matrix.platform.name }}" -o ./publish_sdl2_headless/publish -p:SourceRevisionId="${{ steps.version_info.outputs.git_short_hash }}" -p:DebugType=embedded src/Ryujinx.Headless.SDL2 --self-contained true
- name: Packing Windows builds
if: matrix.platform.os == 'windows-latest'
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
artifacts: "release_output/*.tar.gz,release_output/*.zip"
tag: ${{ steps.version_info.outputs.build_version }}
makeLatest: "true"
generateReleaseNotes: true
omitBody: true
omitBodyDuringUpdate: true
allowUpdates: true
replacesArtifacts: true
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
- name: Get version info
id: version_info
run: |
echo "build_version=r${{ github.sha }}" >> $GITHUB_OUTPUT
echo "build_version=r$(git rev-parse --short "${{ github.sha }}")" >> $GITHUB_OUTPUT
echo "git_short_hash=$(git rev-parse --short "${{ github.sha }}")" >> $GITHUB_OUTPUT
#- name: Configure for release
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
artifacts: "publish_ava/*.tar.gz, publish_headless/*.tar.gz"
tag: ${{ steps.version_info.outputs.build_version }}
makeLatest: "true"
generateReleaseNotes: true
omitBody: true
omitBodyDuringUpdate: true
allowUpdates: true
replacesArtifacts: true
Expand Down

0 comments on commit 33dd526

Please sign in to comment.