diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 671d88ce9..e00447ad9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,12 +19,7 @@ jobs: with: python-version: 3.x - - name: Cache python libs - uses: actions/cache@v1 - id: cache-pip # needed in if test - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip + # Note: we don't use caches on release builds because we don't want to accidentally not have a virgin build machine - name: Upgrade python tools # We actually want to run this every time @@ -33,13 +28,6 @@ jobs: python -m pip install --upgrade pip pip install -U platformio meshtastic adafruit-nrfutil - - name: Cache platformio - uses: actions/cache@v1 - id: cache-platformio # needed in if test - with: - path: ~/.platformio - key: ${{ runner.os }}-platformio - - name: Upgrade platformio run: | pio upgrade @@ -52,19 +40,21 @@ jobs: - name: Build everything run: bin/build-all.sh - - name: release + - name: Create release uses: actions/create-release@v1 id: create_release with: draft: true prerelease: true - release_name: ${{ steps.version.outputs.version }} - tag_name: ${{ github.ref }} - body: Text to be filled in by human + release_name: ${{ steps.version.outputs.version }} alpha + tag_name: ${{ steps.version.outputs.version }} + # was ${{ github.ref }} + body: | + Autogenerated by github action, developer should edit as required before publishing... env: GITHUB_TOKEN: ${{ github.token }} - - name: upload artifact + - name: Add artifact to release uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ github.token }}