diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index faf6f20..afe3c92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,8 +2,10 @@ name: Build VM Disk Image on: push: - branches: '*' - tags: 'v*' + branches: + - '*' + tags: + - 'v*' pull_request: branches: - master @@ -32,7 +34,7 @@ jobs: steps: - name: Clone Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false @@ -74,12 +76,12 @@ jobs: - name: Extract Version id: version if: startsWith(github.ref, 'refs/tags/v') - run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v} + run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT - name: Create Release id: create_release if: startsWith(github.ref, 'refs/tags/v') - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: OpenBSD ${{ steps.version.outputs.VERSION }} draft: true