Update windows_build_test_and_push.yml #426
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: "Publish commit id" | |
on: | |
push: | |
branches: [main] | |
jobs: | |
publish_id: | |
if: github.repository_owner == 'ParadoxGameConverters' | |
runs-on: ubuntu-latest | |
steps: | |
- name: work around permission issue | |
run: git config --global --add safe.directory /github/workspace | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Publish commit id | |
uses: ParadoxGameConverters/publish_commit_id@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
destination_file: 'Vic3ToHoI4.txt' | |
user_email: '[email protected]' | |
user_name: 'idhrendur' | |
destination_branch: 'main' | |
commit_message: "Publish Vic3ToHoI4's commit id" | |
- name: Cleanup | |
uses: colpal/actions-clean@v1 | |
if: always() |