diff --git a/.github/workflows/bindgen.yml b/.github/workflows/bindgen.yml index 97baa10..ca24a5a 100644 --- a/.github/workflows/bindgen.yml +++ b/.github/workflows/bindgen.yml @@ -51,19 +51,19 @@ jobs: submodules: "false" - name: "Download C code platform abstract syntax trees (win)" - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: "ast-win" path: "./bindgen/ast" - name: "Download C code platform abstract syntax trees (osx)" - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: "ast-osx" path: "./bindgen/ast" - name: "Download C code platform abstract syntax trees (linux)" - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: "ast-linux" path: "./bindgen/ast" @@ -94,7 +94,7 @@ jobs: submodules: "false" - name: "Download C code cross-platform abstract syntax tree" - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: "ast-cross-platform" path: "./bindgen/x-ast" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 740ca40..2974005 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,25 +65,25 @@ jobs: submodules: "true" - name: "Download native libraries (win-x64)" - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: "native-libraries-win-x64" path: "./lib" - name: "Download native libraries (osx)" - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: "native-libraries-osx" path: "./lib" - name: "Download native libraries (linux-x64)" - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: "native-libraries-linux-x64" path: "./lib" - name: "Download generated C# code" - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 continue-on-error: true with: name: "bindgen-cs" diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index b336eba..7622971 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -6,7 +6,6 @@ on: permissions: write-all jobs: - commit-job: name: "Commit generated C# code" runs-on: ubuntu-20.04 @@ -14,12 +13,12 @@ jobs: steps: - name: "Clone Git repository" - uses: actions/checkout@v2 + uses: actions/checkout@v2 with: - submodules: 'true' + submodules: "true" - name: "Download changes to commit" - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: "bindgen-cs" path: "./src/cs/production/Tracy/Generated" @@ -27,6 +26,6 @@ jobs: - name: "Add + commit + push (if necessary)" uses: EndBug/add-and-commit@v7 with: - author_name: 'clibequilibrium' - author_email: 'clibequilibrium@users.noreply.github.com' + author_name: "clibequilibrium" + author_email: "clibequilibrium@users.noreply.github.com" message: "Update C# bindings" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4da989..347b781 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,14 +3,13 @@ on: workflow_dispatch: inputs: version: - description: Version of the package + description: Version of the package required: true - default: '0.0.0' + default: "0.0.0" schedule: - cron: "0 0 1 * *" # First day of every month jobs: - build-job: name: "Build" uses: "./.github/workflows/build.yml" @@ -22,26 +21,25 @@ jobs: permissions: contents: write steps: - - name: "Clone Git repository" uses: actions/checkout@master with: submodules: "recursive" - name: "Download native libraries (win-x64)" - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: "native-libraries-win-x64" path: "./lib" - name: "Download native libraries (osx)" - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: "native-libraries-osx" path: "./lib" - name: "Download native libraries (linux-x64)" - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: "native-libraries-linux-x64" path: "./lib" @@ -54,9 +52,9 @@ jobs: NUGET_ACCESS_TOKEN: ${{ secrets.NUGET_ACCESS_TOKEN }} run: dotnet nuget push "./src/cs/production/**/*.nupkg" --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key $NUGET_ACCESS_TOKEN - - name: "Create tag and GitHub release" + - name: "Create tag and GitHub release" uses: softprops/action-gh-release@v1 with: generate_release_notes: true prerelease: false - tag_name: "v${{ github.event.inputs.version }}" \ No newline at end of file + tag_name: "v${{ github.event.inputs.version }}"