Skip to content

Commit

Permalink
auto
Browse files Browse the repository at this point in the history
  • Loading branch information
A-J-Bauer committed Feb 29, 2024
1 parent 24b4a4d commit baaa3f3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/MinifyVersionPublishToFolder/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ static void Main(string[] args)
{
jsMin.Minify(streamReader, streamWriter);
}

Echo.WriteLine("{namecheck_new_version_for_dist}={value} >> $GITHUB_ENV");
}
catch (Exception ex)
{
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ jobs:
- name: Parse file, read version, check if exists in dist, if not write file and minified version to dist
run: |
dotnet run --project .github/MinifyVersionPublishToFolder/MinifyVersionPublishToFolder.csproj vgauge.js dist
- name: check environment variable check_new_version_for_dist, if 'yes' then commit and push
if: ${{ env.check_new_version_for_dist == 'yes'}}
- name: add and commit
uses: EndBug/add-and-commit@v7
with:
default_author: github_actions


2 changes: 1 addition & 1 deletion vgauge.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,4 +634,4 @@ class VGauge {
icon.setAttribute('opacity', opacity);
}
}
}
}

0 comments on commit baaa3f3

Please sign in to comment.