Updated to KeePass 2.55 (#7) #3
Workflow file for this run
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: release | |
on: | |
push: | |
tags: | |
- '*' | |
env: | |
KEEPASS_VERSION: '2.55' | |
KEEPASS_VERSION_MD5: '904F85446CB64116352E03B1814136D5' | |
PLUGIN_SOURCE_DIRECTORY: 'src\KeePassDPG' | |
PLUGIN_OUTPUT_PATH: 'src\KeePassDPG.plgx' | |
PLUGIN_FILE_NAME: 'KeePassDPG.plgx' | |
PLUGIN_NAME: 'KeePassDPG' | |
jobs: | |
release: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v4.1.1 | |
with: | |
fetch-depth: 0 | |
- name: Install GitTools | |
uses: gittools/actions/gitversion/setup@v0.10.2 | |
with: | |
versionSpec: '6.0.0-beta.4' | |
- name: Set Version Number | |
uses: gittools/actions/gitversion/execute@v0.10.2 | |
with: | |
updateAssemblyInfo: true | |
useConfigFile: true | |
- name: Download KeePass Portable | |
uses: carlosperate/download-file-action@v2.0.1 | |
with: | |
file-url: 'https://sourceforge.net/projects/keepass/files/KeePass%202.x/${{ env.KEEPASS_VERSION }}/KeePass-${{ env.KEEPASS_VERSION }}.zip/download' | |
file-name: 'KeePass-${{ env.KEEPASS_VERSION }}.zip' | |
md5: ${{ env.KEEPASS_VERSION_MD5 }} | |
- name: Extract KeePass Portable | |
run: 7z x 'KeePass-${{ env.KEEPASS_VERSION }}.zip' -o${{ github.workspace }}\KeePass-Portable | |
- name: Create PLGX | |
run: KeePass-Portable\KeePass.exe --plgx-create ${{ github.workspace }}\${{ env.PLUGIN_SOURCE_DIRECTORY }} | |
- name: Upload PLGX | |
uses: actions/upload-artifact@v2.3.1 | |
with: | |
name: ${{ env.PLUGIN_FILE_NAME }} | |
path: ${{ env.PLUGIN_OUTPUT_PATH }} | |
if-no-files-found: error |