Skip to content

Commit

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

Console.WriteLine($"::exportVariable min_file_path={minfilepath}");
}
catch (Exception ex)
{
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ jobs:
run: |
echo "minify version publish to dist"
dotnet run --project .github/MinifyVersionPublishToFolder/MinifyVersionPublishToFolder.csproj vgauge.js dist
- uses: actions/upload-artifact@v4
with:
name: min-file-path
path: ${{ env.min_file_path }}
85 changes: 85 additions & 0 deletions dist/vgauge-1.0.1.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6727b0d

Please sign in to comment.