Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Jul 23, 2024
1 parent fa2a1ff commit 9e12324
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-studio-linux-flathub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: rm -rf source-repo
- name: Update Version
run: |
sed -i 's/tag: .*/tag: {{ steps.get-oneware-version.outputs.info }}/' com.one_ware.OneWare.yml
sed -i 's/tag: .*/tag: ${{ steps.get-oneware-version.outputs.info }}/' com.one_ware.OneWare.yml
- name: Commit changes
run: |
git config --global user.name "github-actions[bot]"
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Push changes and create pull request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.HENDRIK_PERSONAL_TOKEN}}
token: ${{ secrets.HENDRIK_PERSONAL_TOKEN }}
branch: release-${{ steps.get-oneware-version.outputs.info }}
title: "Update Version to ${{ steps.get-oneware-version.outputs.info }}"
body: "This is an automated pull request to update the version to ${{ steps.get-oneware-version.outputs.info }}"
Expand Down
2 changes: 1 addition & 1 deletion src/OneWare.Core/Services/EnvironmentService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private void UpdateEnvironment()
_ => ':'
};

var paths = string.Join(pathSeparator, _paths.Select(x => x.Value));
var paths = string.Join(pathSeparator, _paths.Reverse().Select(x => x.Value));

Environment.SetEnvironmentVariable("PATH", $"{paths}{pathSeparator}{InitialPath}");
}
Expand Down

0 comments on commit 9e12324

Please sign in to comment.