ci: bump action versions (checkout & upload-artifact to v4)
#159
This file contains hidden or 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
| on: push | |
| jobs: | |
| build: | |
| name: Build Electron app (staging) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [macos-latest, ubuntu-latest, windows-latest] | |
| env: | |
| CONFIG_FILE: config-staging.json | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up node with volta | |
| uses: volta-cli/action@v4 | |
| - name: Install dmg-license | |
| run: npm i dmg-license | |
| if: matrix.os == 'macos-latest' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Decrypt keys | |
| run: ./internals/deploy/decrypt-keys.sh | |
| shell: bash | |
| env: | |
| KEYS_DECRYPT_PASSPHRASE: ${{ secrets.KEYS_DECRYPT_PASSPHRASE }} | |
| - name: Build/release Electron app | |
| uses: coparse-inc/action-electron-builder@v1.0.0 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| args: '-p never' | |
| - name: Store artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Wohnungsbot Installer ${{ runner.os }} ${{ github.run_number }} (${{ github.ref_name }}) | |
| path: release/Wohnungsbot* | |
| if-no-files-found: error |