Reverted go back change #546
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
| name: 'Compile for Edge' | |
| on: | |
| push: | |
| branches: [ 'main' ] | |
| pull_request: | |
| branches: [ 'main' ] | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 'Checkout Repository' | |
| uses: actions/checkout@v6 | |
| - name: 'Extract Version' | |
| id: get_version | |
| run: | | |
| VERSION=$(jq -r '.version' src/main/manifest.json) | |
| echo "VERSION=$VERSION" >> $GITHUB_ENV | |
| - name: 'Remove update_url from manifest.json' | |
| run: | | |
| jq 'del(.update_url)' src/main/manifest.json > src/main/manifest_temp.json | |
| mv src/main/manifest_temp.json src/main/manifest.json | |
| - name: 'Upload Artifact' | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: Osprey-${{ env.VERSION }}-edge | |
| path: src/main |