Skip to content

Commit

Permalink
add apt-get update before install (#58)
Browse files Browse the repository at this point in the history
* add apt-get update before install

Signed-off-by: Johannes Tuerk <johannes.tuerk@lissi.id>

* add sudo

Signed-off-by: Johannes Tuerk <johannes.tuerk@lissi.id>

---------

Signed-off-by: Johannes Tuerk <johannes.tuerk@lissi.id>
  • Loading branch information
JoTiTu authored Feb 28, 2024
1 parent 69b359b commit b058206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-nuget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: Set Version
run: |
sudo apt-get install -y libxml2-utils
sudo apt-get update && sudo apt-get install -y libxml2-utils
VERSION=$(xmllint --xpath "string(/Project/PropertyGroup/Version)" Directory.Build.props)
if $IS_MAIN_BRANCH; then
SUFFIX="-rc.${{ github.run_number }}"
Expand Down

0 comments on commit b058206

Please sign in to comment.