diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index f16a78ceb..4e1c5ed96 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -26,6 +26,8 @@ jobs: if: github.event_name == 'push' run: | bash scripts/get-atomic-buildnr.sh ${{ github.sha }} ${{ secrets.NIGHTLY_BUILDS }} "CICD-release" + version=$(> $GITHUB_OUTPUT - name: store dummy version and build number for non-push build runs if: github.event_name != 'push' @@ -69,7 +71,7 @@ jobs: if: github.event_name == 'push' uses: softprops/action-gh-release@v1 with: - tag_name: v$(> $GITHUB_OUTPUT - name: store dummy version and build number for pull request if: github.event_name == 'pull_request' @@ -55,14 +57,14 @@ jobs: - name: prepare release artifacts if: github.event_name == 'push' run: | - mv Subsurface.AppImage Subsurface-v(> $GITHUB_OUTPUT - name: store dummy version and build number for pull request if: github.event_name == 'pull_request' @@ -58,7 +60,7 @@ jobs: if: github.event_name == 'push' uses: softprops/action-gh-release@v1 with: - tag_name: v$(> $GITHUB_OUTPUT # ironically, we have to upload a file, otherwise this won't create a release with just the release notes - name: publish release if: github.event_name == 'push' uses: softprops/action-gh-release@v1 with: - tag_name: v$(> $GITHUB_OUTPUT + - name: store dummy version and build number for pull request if: github.event_name == 'pull_request' @@ -51,7 +54,7 @@ jobs: if: github.event_name == 'push' uses: softprops/action-gh-release@v1 with: - tag_name: v$(