Diff Checker #210
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: Diff Checker | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
# Check if any previous run | |
jobs: | |
diff: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Get Version | |
id: version | |
uses: ietf-tools/semver-action@v1 | |
if: github.ref_type != 'tag' | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: master | |
noVersionBumpBehavior: current | |
noNewCommitBehavior: current | |
- name: Get Semver Version | |
id: semver_version | |
uses: dhkatz/[email protected] | |
- name: Setup T5DE Version | |
if: github.ref_type != 'tag' | |
run: | | |
echo "T5DE_VERSION=${{ steps.version.outputs.nextStrict }}${{ format('+{0}-{1}', github.ref_name, github.run_id) }}" >> $env:GITHUB_ENV | |
- name: Setup T5DE Version | |
if: github.ref_type == 'tag' | |
run: | | |
echo "T5DE_VERSION=${{ steps.semver_version.outputs.version-without-v }}" >> $env:GITHUB_ENV | |
- name: Setup Python 2.7 | |
uses: LizardByte/setup-python-action@master | |
with: | |
python-version: '2.7' | |
- run: pip install -r requirements.txt | |
- name: Setup IMVU Version | |
run: | | |
$ENV:IMVU_VERSION = $(cat VERSION) | |
echo ("IMVU_VERSION=" + $ENV:IMVU_VERSION) >> $ENV:GITHUB_ENV | |
- name: Echo Versions | |
run: | | |
echo "T5DE_VERSION=${{ env.T5DE_VERSION }}" | |
echo "IMVU_VERSION=${{ env.IMVU_VERSION }}" | |
- run: python -m t5de --diff |