fix(stat): ReadWeekData should return most recent data #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "pre-release" | |
on: | |
push: | |
branches: | |
- "main" | |
env: | |
DOTNET_VERSION: '8.0.x' | |
jobs: | |
pre-release: | |
name: "Pre Release" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: Install dependencies | |
run: dotnet restore | |
- name: "Build & test" | |
run: | | |
mkdir -p _output | |
dotnet publish iTimeSlot.csproj -o _out -c Release -f net8.0 --self-contained true -t:BundleApp | |
#todo: debug auto build and release | |
# - name: Create Release | |
# id: create_release | |
# uses: actions/create-release@v1 | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | |
# with: | |
# tag_name: ${{ github.ref }} | |
# release_name: Release ${{ github.ref }} | |
# draft: false | |
# prerelease: true |