name: Release permissions: contents: write on: push: tags: - "v*.*.*" jobs: release: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Download Buildkite Artifacts uses: EnricoMi/download-buildkite-artifact-action@v1.14 with: buildkite_token: ${{ secrets.BUILDKITE_TOKEN }} output_path: artifacts - name: Publish Release uses: softprops/action-gh-release@v1 with: fail_on_unmatched_files: true draft: true files: | artifacts/** nix-installer.sh