github.com/octohelm/cuemod@v0.9.4/.github/workflows/ci.yml (about) 1 name: ci 2 3 on: 4 push: 5 branches: 6 - "*" 7 tags: 8 - 'v*' 9 10 jobs: 11 ci: 12 runs-on: ubuntu-latest 13 steps: 14 - uses: actions/checkout@v3 15 - uses: docker/setup-qemu-action@v2 16 17 - run: curl -sSLf https://raw.githubusercontent.com/octohelm/wagon/main/install.sh | sudo sh 18 19 - run: make archive 20 env: 21 GH_USERNAME: ${{ github.actor }} 22 GH_PASSWORD: ${{ secrets.GITHUB_TOKEN }} 23 24 - uses: "marvinpinto/action-automatic-releases@latest" 25 if: ${{ !startsWith(github.ref, 'refs/tags/v') }} 26 with: 27 repo_token: "${{ secrets.GITHUB_TOKEN }}" 28 prerelease: true 29 automatic_release_tag: "latest" 30 files: | 31 .wagon/output/*.tar.gz 32 33 - uses: "marvinpinto/action-automatic-releases@latest" 34 if: ${{ startsWith(github.ref, 'refs/tags/v') }} 35 with: 36 repo_token: "${{ secrets.GITHUB_TOKEN }}" 37 files: | 38 .wagon/output/*.tar.gz