add write permission #7
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: CI-Build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - "**" | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| outputs: | |
| version_number: ${{ steps.version_number.outputs.version_number }} | |
| steps: | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go 1.26 | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.26.1" | |
| id: go | |
| - name: Version Number | |
| id: version_number | |
| run: echo "version_number=$(make version_number)" >> $GITHUB_OUTPUT | |
| - name: Show Version | |
| run: echo "Version ${{ steps.version_number.outputs.version_number }}" | |
| - name: Build | |
| run: make prepare build archive | |
| - name: "Upload binary archive" | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: hamlibplugin-archive | |
| path: ./com.thecodingflow.hamlibplugin.zip |