diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/NixBinaryCache.yaml similarity index 67% rename from .gitea/workflows/test.yaml rename to .gitea/workflows/NixBinaryCache.yaml index 46a5167..2239895 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/NixBinaryCache.yaml @@ -1,4 +1,4 @@ -name: Example +name: Nix Binary Cache on: [push] @@ -7,11 +7,9 @@ env: SSH_AUTH_SOCK: /tmp/ssh_agent.sock jobs: - Example: + Nix-Binary-Cache: runs-on: ubuntu-latest steps: - - run: node --version - - name: Install Nix uses: https://github.com/cachix/install-nix-action@v23 with: @@ -23,28 +21,14 @@ jobs: - name: Checkout the repository uses: actions/checkout@v3 - - name: Get ENV var names - run: printenv | cut -d'=' -f1 - - - name: List files in the repository + - name: Install dependencies run: | - ls ${{ gitea.workspace }} + nix profile install nixpkgs#cowsay + nix profile install nixpkgs#curl - # - name: Install dependencies - # run: | - # nix profile install nixpkgs#cowsay - # nix profile install nixpkgs#curl + - run: cowsay testing - # - run: cowsay testing - - # - run: curl -I s0.koi-bebop.ts.net - - - name: Test format - run: | - echo "${{ secrets.TEST_SECRET }}" | base64 -d > ./.test_file - md5sum ./.test_file - cat ./.test_file - base64 ./.test_file + - run: curl -I s0.koi-bebop.ts.net - name: Setup SSH For Pushing to Binary Cache run: | diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index cc34aea..43a9744 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,7 +3,6 @@ run-name: ${{ github.actor }} is testing out Gitea Actions 🚀 on: [push] jobs: Explore-Gitea-Actions: - if: ${{ false }} # disable for now runs-on: ubuntu-latest steps: - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."